Skip to content

Commit

Permalink
Merge pull request #22 from YDKK/develop
Browse files Browse the repository at this point in the history
Update push_release_docker_image.yml
  • Loading branch information
YDKK authored Aug 8, 2021
2 parents 5ec6421 + 080002f commit 234a19e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/push_release_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Get release tag
run: |
tag=`echo ${{ github.ref }} | sed s=refs/tags/v==`
echo "::set-output name=tag::${tag}"
id: get-tag
- name: Build and push
uses: docker/build-push-action@v2
with:
Expand All @@ -27,4 +32,4 @@ jobs:
push: true
tags: |
ydkk/slack-line-bridge:latest
ydkk/slack-line-bridge:${{ github.ref }}
ydkk/slack-line-bridge:${{ steps.get-tag.outputs.tag }}

0 comments on commit 234a19e

Please sign in to comment.