Skip to content

Commit

Permalink
Pull latest image in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devplayer0 committed Mar 16, 2021
1 parent 9abd4fc commit 1b685d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Release

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

env:
CR_PAT_USER: devplayer0
Expand Down Expand Up @@ -36,8 +36,8 @@ jobs:

- name: Tag Docker image
run: |
docker pull "$DOCKER_REPO:${{ github.sha }}"
docker tag "$DOCKER_REPO:${{ github.sha }}" "$DOCKER_REPO:${{ steps.vars.outputs.version }}"
docker pull "$DOCKER_REPO:latest"
docker tag "$DOCKER_REPO:latest" "$DOCKER_REPO:${{ steps.vars.outputs.version }}"
docker push "$DOCKER_REPO:${{ steps.vars.outputs.version }}"
- name: Create Release
Expand Down

0 comments on commit 1b685d0

Please sign in to comment.