Skip to content

Commit 7454ea2

Browse files
authored
Update push-docker-image.yaml
1 parent c29d275 commit 7454ea2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

Diff for: .github/workflows/push-docker-image.yaml

+4-7
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,14 @@ jobs:
2424
username: ${{ env.DOCKER_USER }}
2525
password: ${{ env.DOCKER_PASSWORD }}
2626

27-
- name: Extract metadata (tags, labels) for Docker
28-
id: meta
29-
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
30-
with:
31-
images: ${{ env.DOCKER_USER }}/${{ env.REPO_NAME }}
27+
- name: Set up Docker Buildx
28+
uses: docker/setup-buildx-action@v2
3229

3330
- name: Build and push Docker image
34-
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
31+
uses: docker/build-push-action@v4
3532
with:
3633
context: .
3734
file: ./build/Dockerfile
3835
push: true
39-
tags: ${{ steps.vars.outputs.tag }}
36+
tags: ${{ env.DOCKER_USER }}/${{ env.REPO_NAME }}:${{ steps.vars.outputs.tag }}
4037
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)