Push cloud image to docker.io instead.

This commit is contained in:
Mike Cao 2024-09-02 21:17:08 -07:00
parent 2de8632ae0
commit bfe15e9f0e

View File

@ -18,13 +18,11 @@ jobs:
run: echo "hash=$(openssl rand -hex 4)" >> $GITHUB_OUTPUT run: echo "hash=$(openssl rand -hex 4)" >> $GITHUB_OUTPUT
- uses: mr-smithers-excellent/docker-build-push@v6 - uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push Docker image to ghcr.io name: Build & push Docker image to docker.io
with: with:
image: umami image: umamisoftware/umami
tags: cloud-${{ steps.random_hash.outputs.hash }}, cloud-latest tags: cloud-${{ steps.random_hash.outputs.hash }}, cloud-latest
buildArgs: DATABASE_TYPE=postgresql buildArgs: DATABASE_TYPE=postgresql
registry: ghcr.io registry: docker.io
multiPlatform: true username: ${{ secrets.DOCKER_USERNAME }}
platform: linux/amd64 password: ${{ secrets.DOCKER_PASSWORD }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}