mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
fix: add the latest tag for the CLI docker image (#2087)
Co-authored-by: Oleksandr Savchenko <oleksandr.savchenko@nordsec.com>
This commit is contained in:
parent
491ac6b9d0
commit
80ecd0f197
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
@ -38,11 +38,11 @@ jobs:
|
||||||
echo ::set-output name=tags::${TAGS}
|
echo ::set-output name=tags::${TAGS}
|
||||||
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
||||||
- name: Push to GitHub Packages
|
- name: Push to GitHub Packages
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: ./cli
|
context: ./cli
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.prep.outputs.tags }}
|
tags: ${{ steps.prep.outputs.tags }},latest
|
||||||
dockerhub:
|
dockerhub:
|
||||||
name: Publish redoc image to DockerHub
|
name: Publish redoc image to DockerHub
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -69,7 +69,7 @@ jobs:
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./config/docker/Dockerfile
|
file: ./config/docker/Dockerfile
|
||||||
|
|
Loading…
Reference in New Issue
Block a user