Skip to content

Commit

Permalink
fix: add the latest tag for the CLI docker image (#2087)
Browse files Browse the repository at this point in the history
Co-authored-by: Oleksandr Savchenko <[email protected]>
  • Loading branch information
osavchenko and osavchenko authored Jul 25, 2022
1 parent 491ac6b commit 80ecd0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
- name: Push to GitHub Packages
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: ./cli
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep.outputs.tags }}
tags: ${{ steps.prep.outputs.tags }},latest
dockerhub:
name: Publish redoc image to DockerHub
runs-on: ubuntu-latest
Expand All @@ -69,7 +69,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: ./config/docker/Dockerfile
Expand Down

0 comments on commit 80ecd0f

Please sign in to comment.