fix docker
All checks were successful
dl / lint (push) Successful in 1m24s
dl / docker (push) Successful in 2m57s

This commit is contained in:
Michel Roux 2023-06-25 16:05:01 +02:00
parent 9409f5d1f5
commit c02a14193e

View File

@ -22,15 +22,16 @@ jobs:
- run: apk add git nodejs - run: apk add git nodejs
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: https://github.com/docker/metadata-action@v4 - uses: https://github.com/docker/metadata-action@v4
id: meta
with: with:
images: xefir/dl images: xefir/dl
flavor: latest=true
- uses: https://github.com/docker/login-action@v2 - uses: https://github.com/docker/login-action@v2
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: https://github.com/docker/build-push-action@v4 - uses: https://github.com/docker/build-push-action@v4
with: with:
context: .
push: true push: true
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}