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 49e0285 commit ac4da9f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Extract branch name
shell: bash
run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
- 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:${env.BRANCH_NAME},singlespa/import-map-deployer:latest
tags: singlespa/import-map-deployer:${GITHUB_REF##*/},singlespa/import-map-deployer:latest

0 comments on commit ac4da9f

Please sign in to comment.