Update main.yml

This commit is contained in:
2024-10-08 19:24:36 +07:00
committed by GitHub
parent a9f68c613a
commit 12bdb875f4

View File

@ -21,7 +21,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image for main - name: Build and push Docker image for main
uses: docker/build-push-action@v2 uses: docker/setup-buildx-action@v3
with: with:
context: . context: .
push: true push: true
@ -32,7 +32,7 @@ jobs:
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
- name: Build and push Docker image for staging - name: Build and push Docker image for staging
uses: docker/build-push-action@v2 uses: docker/setup-buildx-action@v3
with: with:
context: . context: .
push: true push: true