Skip to content

Commit

Permalink
Update build_push_docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benlee0423 authored May 23, 2023
1 parent 267a6bc commit 466c093
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_push_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: name/app
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -23,5 +28,4 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
tag_with_ref: true # Info: https://github.com/docker/build-push-action/tree/releases/v1#tag_with_ref
tags: awiciroh/echo-hello:latest-x86
tags: awiciroh/echo-hello:${{ steps.meta.outputs.tags }}

0 comments on commit 466c093

Please sign in to comment.