chore(ci): Also push to dockerhub

This commit is contained in:
Timothy Stewart
2021-08-15 21:53:04 -05:00
parent eb40667bd9
commit d30bb3f47b

View File

@@ -43,15 +43,6 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }}
-
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: ghcr.io/techno-tim/littlelink-server:latest
-
name: Login to DockerHub
uses: docker/login-action@v1
@@ -66,4 +57,6 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: timothystewart6/littlelink-server:latest
tags: |
ghcr.io/techno-tim/littlelink-server:latest
timothystewart6/littlelink-server:latest