From 419c0fb883a7247f9275af52eb2075a28a80bd3f Mon Sep 17 00:00:00 2001 From: Maurizio Turatti Date: Sat, 8 Jun 2024 12:55:09 +0200 Subject: [PATCH] Add comments in branch.yml snapshot images must be tagged with "latest" in master branch only --- .github/workflows/branch.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/branch.yml b/.github/workflows/branch.yml index 58ef5bf3d..775223e58 100644 --- a/.github/workflows/branch.yml +++ b/.github/workflows/branch.yml @@ -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 @@ -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 @@ -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