diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e5e52bdc..7c89b8d96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: path: build - name: Docker meta id: docker_meta - uses: crazy-max/ghaction-docker-meta@v1.6.0 + uses: crazy-max/ghaction-docker-meta@v1.8.4 with: images: inseefrlab/onyxia-ui # list of Docker images to use as base name for tags - name: Set up QEMU @@ -58,7 +58,9 @@ jobs: context: . file: ./Dockerfile push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.docker_meta.outputs.tags }} + tags: | + ${{ steps.docker_meta.outputs.tags }} + ${{ github.ref == 'refs/heads/master' && 'inseefrlab/onyxia-ui:latest' || '' }} labels: ${{ steps.docker_meta.outputs.labels }} - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }}