Skip to content

Commit

Permalink
Again
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning committed Aug 19, 2021
1 parent ac4da9f commit 6b64fb4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get the current branch name
shell: bash
run: echo "::set-output name=branch::${GITHUB_REF#refs/heads/}"
id: branchStep
- name: Docker Build and Docker Push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
push: true
# According to https://docs.github.com/en/actions/reference/events-that-trigger-workflows#release `$GITHUB_REF` is going to be the tag of the release
tags: singlespa/import-map-deployer:${GITHUB_REF##*/},singlespa/import-map-deployer:latest
tags: singlespa/import-map-deployer:${{ steps.branchStep.outputs.branch }},singlespa/import-map-deployer:latest

0 comments on commit 6b64fb4

Please sign in to comment.