🚧 github: Push image

test/github-actions
Gerber, Mike 2 years ago
parent a478b9bd47
commit 40430c5150

@ -24,7 +24,12 @@ jobs:
# TODO data # TODO data
# TODO matrix for all Dockerfiles # 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 name: Build core
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
@ -33,7 +38,7 @@ jobs:
file: Dockerfile-core file: Dockerfile-core
build-args: build-args:
DRONE_COMMIT=${{ github.sha }} DRONE_COMMIT=${{ github.sha }}
push: false push: true
tags: ${{ github.sha }} tags: ${{ github.sha }}
- -
name: Build dinglehopper name: Build dinglehopper
@ -43,5 +48,5 @@ jobs:
file: Dockerfile-dinglehopper file: Dockerfile-dinglehopper
build-args: build-args:
DRONE_COMMIT=${{ github.sha }} DRONE_COMMIT=${{ github.sha }}
push: false push: true
tags: ${{ github.sha }} tags: ${{ github.sha }}

Loading…
Cancel
Save