Skip to content

Commit

Permalink
push image with latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
itszechs committed Jun 22, 2024
1 parent f0eecab commit 9441c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push container image to registry
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: index.docker.io/${{ secrets.DOCKER_USERNAME }}/zplex-api:${{ github.sha }}
tags: index.docker.io/${{ secrets.DOCKER_USERNAME }}/zplex-api:latest

0 comments on commit 9441c78

Please sign in to comment.