Skip to content

Commit

Permalink
Add more vars in gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaaano committed Sep 6, 2023
1 parent f4d4e47 commit 0c47232
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ jobs:
registry: registry.redhat.io
username: ${{ secrets.REDHAT_USR }}
password: ${{ secrets.REDHAT_PWD }}
logout: true
- name: checkout
uses: actions/checkout@v3
- name: cache ~/.m2
Expand All @@ -98,5 +97,5 @@ jobs:
-Dquarkus.container-image.push=true
-Dquarkus.container-image.username=${{ github.actor }}
-Dquarkus.container-image.password=${{ secrets.GITHUB_TOKEN }}
-Dquarkus.container-image.image=ghcr.io/juliaaano/quarkus-native:latest
-Dquarkus.container-image.image=ghcr.io/${{ github.repository_owner }}/quarkus-native:latest
'-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
-Dquarkus.container-image.push=true
-Dquarkus.container-image.username=${{ github.actor }}
-Dquarkus.container-image.password=${{ secrets.GITHUB_TOKEN }}
-Dquarkus.container-image.image=ghcr.io/juliaaano/quarkus:latest
-Dquarkus.container-image.image=ghcr.io/${{ github.repository }}:latest
'-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA
- name: mvn package -DskipTests -Dquarkus.container-image.push=true snapshot
if: github.ref != 'refs/heads/master'
Expand All @@ -74,5 +74,5 @@ jobs:
-Dquarkus.container-image.push=true
-Dquarkus.container-image.username=${{ github.actor }}
-Dquarkus.container-image.password=${{ secrets.GITHUB_TOKEN }}
-Dquarkus.container-image.image=ghcr.io/juliaaano/quarkus:snapshot
-Dquarkus.container-image.image=ghcr.io/${{ github.repository }}:snapshot
'-Dquarkus.container-image.labels."org.opencontainers.image.revision"='$GITHUB_SHA

0 comments on commit 0c47232

Please sign in to comment.