Skip to content

Commit

Permalink
fix docker buildx error
Browse files Browse the repository at this point in the history
  • Loading branch information
luongnv89 committed Feb 15, 2024
1 parent e02c172 commit 89e207b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-docker-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
PACKAGE_VERSION=$(echo $GITHUB_REF | tr -d 'refs/tags/' )
EOF
- name: Build Docker Image
run: docker build -t ghcr.io/montimage/tas:${{ env.PACKAGE_VERSION }}


- name: Push Docker image to GitHub Container Registry
run: docker push ghcr.io/montimage/tas:${{ env.PACKAGE_VERSION }}
- name: Build and push Docker images
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
ghcr.io/montimage/tas:${{ env.PACKAGE_VERSION }}
ghcr.io/montimage/tas:latest

0 comments on commit 89e207b

Please sign in to comment.