Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Shu Kutsuzawa committed Jun 9, 2020
1 parent e19701d commit b5e7172
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@ jobs:
needs: [build]
steps:
- uses: actions/checkout@master
- name: Get tag name
id: get_version
run: echo ::set-env name=TAG_NAME::$(echo ${GITHUB_SHA::8})
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: cappyzawa/romver-resource
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tags: "latest,${{ github.ref }}"
tags: "latest,${{ env.TAG_NAME }}"
buildargs: ROMVER_TESTING_GITHUB_URI,ROMVER_TESTING_GITHUB_BRANCH,ROMVER_TESTING_GITHUB_USERNAME,ROMVER_TESTING_GITHUB_PASSWORD
env:
ROMVER_TESTING_GITHUB_URI: https://github.com/cappyzawa/romver-resource
Expand Down

0 comments on commit b5e7172

Please sign in to comment.