This repository was archived by the owner on Nov 4, 2024. It is now read-only.
Commit d5ab672 1 parent 83e2642 commit d5ab672 Copy full SHA for d5ab672
File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 8
8
env :
9
9
REGISTRY : ghcr.io
10
10
NAMESPACE : galasa-dev
11
- IMAGE_TAG : ${{ github.event.number }}
12
11
13
12
jobs :
14
13
build-gradle :
25
24
java-version : ' 11'
26
25
distribution : ' semeru'
27
26
27
+ # The githash is added to the development Maven registry to show what commit level it contains
28
28
- name : Print githash
29
29
run : |
30
30
echo $GITHUB_SHA > ./gradle.githash
@@ -41,21 +41,14 @@ jobs:
41
41
-PcentralMaven=https://repo.maven.apache.org/maven2/ \
42
42
-PtargetMaven=${{ github.workspace }}/repo
43
43
44
- # This Docker image will not be used, it's just to test that the Docker build should work
45
- # - name: Build and test Gradle image
46
- # env:
47
- # CONTEXTROOT: main/maven-repo/gradle
48
- # run: |
49
- # docker build -t gradle-maven-artefacts:${{env.IMAGE_TAG}} --build-arg tag=main --build-arg dockerRepository=harbor.galasa.dev -f dockerfiles/dockerfile.gradle .
50
- # docker run --rm gradle-maven-artefacts:${{env.IMAGE_TAG}}
51
-
52
44
- name : Extract metadata for Gradle image
53
45
id : metadata
54
46
uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
55
47
with :
56
48
images : ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/gradle-maven-artefacts
57
49
58
- - name : Build Gradle image for development Maven registry
50
+ # This Docker image will not be used, it's just to test that the Docker build should work
51
+ - name : Build Gradle image
59
52
id : build
60
53
uses : docker/build-push-action@v5
61
54
with :
You can’t perform that action at this time.
0 commit comments