From bf1fb3e957fbed013db74be632b3313a8fb21bfd Mon Sep 17 00:00:00 2001 From: Andrew Haberlandt Date: Sun, 25 Aug 2024 17:54:20 -0400 Subject: [PATCH] update --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 152e51d..c45579d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,13 @@ jobs: - uses: docker/setup-buildx-action@v2.9.0 with: driver-opts: image=moby/buildkit + - uses: docker/metadata-action@v4.6.0 + id: meta + with: + images: ghcr.io/${{ github.repository }} + tags: | + type=sha,format=long + type=semver,pattern={{version}} - uses: docker/login-action@v2.2.0 if: github.event_name != 'pull_request' with: @@ -51,6 +58,7 @@ jobs: if: github.event_name != 'pull_request' with: push: true + tags: ${{ steps.meta.outputs.tags }} platforms: linux/amd64 provenance: false cache-from: type=gha @@ -83,6 +91,14 @@ jobs: with: driver-opts: image=moby/buildkit + - uses: docker/metadata-action@v4.6.0 + id: meta + with: + images: ghcr.io/${{ github.repository }} + tags: | + type=sha,format=long + type=semver,pattern={{version}} + - uses: docker/login-action@v2.2.0 if: github.event_name != 'pull_request' with: @@ -106,6 +122,7 @@ jobs: if: github.event_name != 'pull_request' with: push: true + tags: ${{ steps.meta.outputs.tags }} platforms: linux/arm64 provenance: false cache-from: type=gha