From 80ecd0f19746379b056bfb1b11950693f3dc3724 Mon Sep 17 00:00:00 2001 From: Oleksandr Savchenko Date: Mon, 25 Jul 2022 17:22:37 +0300 Subject: [PATCH] fix: add the latest tag for the CLI docker image (#2087) Co-authored-by: Oleksandr Savchenko --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 71fa9366..9901811e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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