Update main.yml
This commit is contained in:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Build and push Docker image for main
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
@ -32,7 +32,7 @@ jobs:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
||||
- name: Build and push Docker image for staging
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
|
Reference in New Issue
Block a user