From 9299d24ec8dec3d48e5d45655791e39809a807bb Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Thu, 7 Sep 2023 11:56:20 -0400 Subject: [PATCH 1/3] added v prefix to build versions --- .github/workflows/cd.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2fd9dbb6b..67c43a9d8 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -53,8 +53,7 @@ jobs: ${{ env.DOCKER_IMAGE }} ghcr.io/${{ github.repository }} tags: | - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{version}},prefix=v - name: Build and push Docker images uses: docker/build-push-action@v3 From 5b1556c825d4011ee98fac28dc58fa9e9a2f556a Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Thu, 7 Sep 2023 11:56:58 -0400 Subject: [PATCH 2/3] testing in ci --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8992ecefb..a80a10b4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,8 @@ name: Build and test Docker images on: push: - branches: - - 'release-**' + # branches: + # - 'release-**' workflow_dispatch: env: @@ -51,14 +51,13 @@ jobs: ${{ env.DOCKER_IMAGE }} ghcr.io/${{ github.repository }} tags: | - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{version}},prefix=v - name: Build and push Docker images uses: docker/build-push-action@v3 with: context: . push: false - platforms: ${{ env.PLATFORMS }} + # platforms: ${{ env.PLATFORMS }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} From 43303a9461636cd31a2dc071da0a3b651ba455c4 Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Thu, 7 Sep 2023 12:00:17 -0400 Subject: [PATCH 3/3] probably correct --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a80a10b4e..24f2fbd77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,8 +2,8 @@ name: Build and test Docker images on: push: - # branches: - # - 'release-**' + branches: + - 'release-**' workflow_dispatch: env: @@ -58,6 +58,6 @@ jobs: with: context: . push: false - # platforms: ${{ env.PLATFORMS }} + platforms: ${{ env.PLATFORMS }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}