Skip to content

Commit

Permalink
fix: image tag miss (#40)
Browse files Browse the repository at this point in the history
Signed-off-by: cutecutecat <[email protected]>
  • Loading branch information
cutecutecat authored Aug 22, 2023
1 parent 5ba1631 commit b498e8a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,8 @@ jobs:
with:
username: ${{ secrets.DOCKERIO_MODELZ_USERNAME }}
password: ${{ secrets.DOCKERIO_MODELZ_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ secrets.DOCKERIO_MODELZ_USERNAME }}/supabase-cli
tags: |
type=semver,pattern={{version}}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
Expand All @@ -43,7 +31,7 @@ jobs:
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ secrets.DOCKERIO_MODELZ_USERNAME }}/supabase-cli:latest,${{ secrets.DOCKERIO_MODELZ_USERNAME }}/supabase-cli:${{ env.RELEASE_VERSION }}
build-args: |
version=${{ env.RELEASE_VERSION }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit b498e8a

Please sign in to comment.