Fix actions

Former-commit-id: e9e1884fb7728e622357ec0ce1705fa2c845248c
This commit is contained in:
milesial 2021-08-18 00:26:11 +02:00 committed by GitHub
parent 6f3320edbc
commit f0381301bb

View file

@ -6,9 +6,12 @@ on:
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
name: Push Docker image
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
@ -30,9 +33,10 @@ jobs:
- name: Build and push Docker image
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v1
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
milesial/unet:latest
ghcr.io/milesial/unet:latest