Skip to content

Commit

Permalink
use tag_with_ref during docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoQuote authored Jun 15, 2020
1 parent eff04b6 commit d9ebda9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ jobs:
runs-on: ubuntu-latest
needs: frontend
steps:
- name: set envs
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
- name: Check out code
uses: actions/checkout@v2
- name: Download a Build Artifact
Expand All @@ -56,12 +54,14 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: douz/helpdesk
tags: latest,${{ RELEASE_VERSION }}
tags: latest
tag_with_ref: true
- uses: docker/build-push-action@v1
with:
path: frontend
dockerfile: frontend/Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: douz/helpdesk-frontend
tags: latest,${{ RELEASE_VERSION }}
tags: latest
tag_with_ref: true

0 comments on commit d9ebda9

Please sign in to comment.