Skip to content

Commit

Permalink
Merge pull request #12 from juliaaano/snapshots
Browse files Browse the repository at this point in the history
Push container snapshots on PRs
  • Loading branch information
juliaaano authored Jun 8, 2021
2 parents 1881587 + 0d288a4 commit 3f31d10
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ jobs:
- name: mvn package -DskipTests -Dquarkus.container-image.push=true latest
if: github.ref == 'refs/heads/master'
run: $MVN package -DskipTests -Dquarkus.container-image.push=true -Dquarkus.container-image.image=ghcr.io/juliaaano/quarkus:latest '-Dquarkus.jib.labels."org.opencontainers.image.revision"='$GITHUB_SHA
# - name: mvn package -DskipTests -Dquarkus.container-image.push=true snapshot
# if: github.ref != 'refs/heads/master'
# run: $MVN package -DskipTests -Dquarkus.container-image.push=true -Dquarkus.container-image.image=ghcr.io/juliaaano/quarkus:snapshot '-Dquarkus.jib.labels."org.opencontainers.image.revision"='$GITHUB_SHA
# https://github.community/t/cant-authenticate-with-actions-token-for-pr-event/170752
- name: mvn package -DskipTests -Dquarkus.container-image.push=true snapshot
if: github.ref != 'refs/heads/master'
run: $MVN package -DskipTests -Dquarkus.container-image.push=true -Dquarkus.container-image.image=ghcr.io/juliaaano/quarkus:snapshot '-Dquarkus.jib.labels."org.opencontainers.image.revision"='$GITHUB_SHA

0 comments on commit 3f31d10

Please sign in to comment.