chore(ci): Also push to dockerhub

This commit is contained in:
Timothy Stewart 2021-08-15 21:45:17 -05:00
parent 1d2cd1098f
commit eb40667bd9

View File

@ -51,4 +51,19 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: ghcr.io/techno-tim/littlelink-server:latest
tags: ghcr.io/techno-tim/littlelink-server:latest
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: timothystewart6/littlelink-server:latest