Skip to content

Commit

Permalink
CI : push master on latest
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt committed Nov 24, 2020
1 parent 1c8fcbb commit a106851
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
path: onyxia-api/target
- 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-api # list of Docker images to use as base name for tags
- name: Set up QEMU
Expand All @@ -60,7 +60,9 @@ jobs:
context: onyxia-api
file: onyxia-api/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-api:latest' || '' }}
labels: ${{ steps.docker_meta.outputs.labels }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit a106851

Please sign in to comment.