From 2f75e882cdf6868aa6ccda8860783e999eaee6cf Mon Sep 17 00:00:00 2001 From: Josh Bowen Date: Tue, 25 Oct 2022 10:56:17 +0200 Subject: [PATCH 1/2] add semver tags to docker image builds --- .github/workflows/docker-build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 424d319369..149fd4891b 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -37,7 +37,10 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=sha - + type=semver,pattern={{major}}.{{minor}}.{{patch}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 From eefcc7f4255594c88de6e1955c4e1a42959da80d Mon Sep 17 00:00:00 2001 From: Josh Bowen Date: Tue, 25 Oct 2022 11:25:53 +0200 Subject: [PATCH 2/2] remove trailing spaces --- .github/workflows/docker-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 149fd4891b..c844acc5a4 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -40,7 +40,7 @@ jobs: type=semver,pattern={{major}}.{{minor}}.{{patch}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2