Skip to content

Commit d34790a

Browse files
author
Joel Denning
committed
Wow another
1 parent e6e200e commit d34790a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
with:
1616
username: ${{ secrets.DOCKERHUB_USERNAME }}
1717
password: ${{ secrets.DOCKERHUB_TOKEN }}
18-
- name: Get the current branch name
18+
- name: Get the current tag name
1919
shell: bash
20-
run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
20+
run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
2121
id: branchStep
2222
- name: Docker Build and Docker Push
2323
id: docker_build
2424
uses: docker/build-push-action@v2
2525
with:
2626
context: .
2727
push: true
28-
tags: singlespa/import-map-deployer:${{ steps.branchStep.outputs.branch }},singlespa/import-map-deployer:latest
28+
tags: singlespa/import-map-deployer:${{ steps.branchStep.outputs.tag }},singlespa/import-map-deployer:latest

0 commit comments

Comments
 (0)