Skip to content

Commit

Permalink
Update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWright committed Oct 28, 2020
1 parent 663c94b commit 879d5c1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,15 @@ jobs:
- name: Docker login
if: runner.os == 'Linux'
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u TomWright --password-stdin
- name: Docker tag latest
if: runner.os == 'Linux'
run: docker tag tomwright/dasel/dasel:latest docker.pkg.github.com/tomwright/dasel/dasel:latest
- name: Docker tag release
if: runner.os == 'Linux'
run: docker tag tomwright/dasel/dasel:latest docker.pkg.github.com/tomwright/dasel/dasel:${{ env.RELEASE_VERSION }}
- name: Docker push latest
if: runner.os == 'Linux'
run: docker push tomwright/dasel/dasel:latest docker.pkg.github.com/tomwright/dasel/dasel:latest
run: docker push docker.pkg.github.com/tomwright/dasel/dasel:latest
- name: Docker push release
if: runner.os == 'Linux'
run: docker push tomwright/dasel/dasel:latest docker.pkg.github.com/tomwright/dasel/dasel:${{ env.RELEASE_VERSION }}
run: docker push docker.pkg.github.com/tomwright/dasel/dasel:${{ env.RELEASE_VERSION }}

0 comments on commit 879d5c1

Please sign in to comment.