Skip to content

Commit

Permalink
Add comments in branch.yml
Browse files Browse the repository at this point in the history
snapshot images must be tagged with "latest" in master branch only
  • Loading branch information
mkjsix committed Jun 8, 2024
1 parent 9c2db85 commit 419c0fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
platforms: linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x
push: true # push all images built
pull: true # pull all required images before building
# NOTE: snapshot images must be tagged with "latest" in master branch only
tags: softinstigate/restheart-snapshot:latest,softinstigate/restheart-snapshot:${{steps.vars.outputs.SHA}}

- name: Build and Push GraalVM Docker image
Expand All @@ -82,6 +83,7 @@ jobs:
file: ./core/Dockerfile.graalvm
push: true # push all images built
pull: true # pull all required images before building
# NOTE: snapshot images must be tagged with "graalvm" in master branch only
tags: softinstigate/restheart-snapshot:graalvm,softinstigate/restheart-snapshot:${{steps.vars.outputs.SHA}}-graalvm

- name: Build and Push distroless docker image
Expand All @@ -92,6 +94,7 @@ jobs:
file: ./core/Dockerfile.distroless
push: true # push all images built
pull: true # pull all required images before building
# NOTE: snapshot images must be tagged with "distroless" in master branch only
tags: softinstigate/restheart-snapshot:distroless,softinstigate/restheart-snapshot:${{steps.vars.outputs.SHA}}-distroless

- name: Import private gpg key
Expand Down

0 comments on commit 419c0fb

Please sign in to comment.