Skip to content

Commit 1778d79

Browse files
authored
Update docker_publish.yml
1 parent f43d7c8 commit 1778d79

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/docker_publish.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,14 @@ jobs:
2727
id: buildx
2828
uses: docker/setup-buildx-action@v1
2929

30-
- name: Extract tag name
31-
id: extract_tag_name
32-
shell: bash
33-
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/})"
34-
3530
- name: Build and push
3631
id: docker_build
3732
uses: docker/build-push-action@v2
3833
with:
3934
context: ./
4035
file: ./Dockerfile
4136
push: true
42-
tags: napalmautomation/napalm-logs:${{ steps.extract_tag_name.outputs.tag }}
37+
tags: napalmautomation/napalm-logs:${{ github.ref_name }}
4338

4439
- name: Image digest
4540
run: echo ${{ steps.docker_build.outputs.digest }}

0 commit comments

Comments
 (0)