🚧 github: Push image

This commit is contained in:
Gerber, Mike 2023-02-08 16:46:15 +01:00
parent a478b9bd47
commit 40430c5150

View file

@ -24,7 +24,12 @@ jobs:
# TODO data
# TODO matrix for all Dockerfiles
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build core
uses: docker/build-push-action@v4
@ -33,7 +38,7 @@ jobs:
file: Dockerfile-core
build-args:
DRONE_COMMIT=${{ github.sha }}
push: false
push: true
tags: ${{ github.sha }}
-
name: Build dinglehopper
@ -43,5 +48,5 @@ jobs:
file: Dockerfile-dinglehopper
build-args:
DRONE_COMMIT=${{ github.sha }}
push: false
push: true
tags: ${{ github.sha }}