Skip to content

Commit

Permalink
Wow another
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Aug 19, 2021
1 parent e6e200e commit d34790a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get the current branch name
- name: Get the current tag name
shell: bash
run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
run: echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
id: branchStep
- name: Docker Build and Docker Push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: singlespa/import-map-deployer:${{ steps.branchStep.outputs.branch }},singlespa/import-map-deployer:latest
tags: singlespa/import-map-deployer:${{ steps.branchStep.outputs.tag }},singlespa/import-map-deployer:latest

0 comments on commit d34790a

Please sign in to comment.