Add the latest tag for the CLI docker image

This commit is contained in:
Oleksandr Savchenko 2022-07-20 14:52:07 +03:00
parent 0045be0b75
commit 53d0e156c0

View File

@ -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
@ -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