Skip to content

Commit

Permalink
fix docker run (#7557)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored Sep 7, 2021
1 parent ef2ec21 commit 6683cd9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: docker

on:
schedule:
- cron: '19 17 * * *' # Nightly builds capture upstream updates to dependency images such as node.
# Nightly builds capture upstream updates to dependency images such as node.
- cron: '19 17 * * *'
push:
branches: [ master, 'release-*.*.*' ]
branches: [ master ]
tags: [ '*.*.*' ]

env:
Expand All @@ -22,7 +23,7 @@ jobs:
steps:
- name: Determine branch name
id: branch
run: echo ::set-output name=branch_name::${GITHUB_REF#refs/*/}
run: echo "::set-output name=branch_name::${GITHUB_REF#refs/*/}"

- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -47,7 +48,7 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=${{ steps.branch.branch_name == 'master' }}
latest=${{ steps.branch.outputs.branch_name == 'master' }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 6683cd9

Please sign in to comment.