Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
username: ${{ secrets.DOCKER_HUB_UID }}
password: ${{ secrets.DOCKER_HUB_PAT }}

- name: Build and push default image
uses: docker/build-push-action@v3.2.0
with:
context: . # Because GH actions are for kids and put protection on everything; https://stackoverflow.com/a/71159809/11276254
push: true
tags: |
ghcr.io/${{ github.repository }}/go-songbird:${{ env.IMAGE_TAG }}
${{ secrets.DOCKER_HUB_REPO }}:${{ env.IMAGE_TAG }}
- name: Build image
run: |
docker buildx build \
--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 \
--tag ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }} \
--tag ${{ secrets.DOCKER_HUB_REPO }}:${{ env.IMAGE_TAG }} \
--file ./Dockerfile \
--output type=image,push=true .