Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:alembic: Attempts ACR container push

Alicia Sykes4be9e1f320b4
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 7e8986a8..e1b1d1e5 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -1,3 +1,5 @@
+# Builds, scans and tests the multi-architecture docker image
+# Then releases it to the DockerHub, GHCR and Quay registries
name: 🐳 Build + Publish Multi-Platform Image
on:
@@ -31,9 +33,10 @@ jobs:
images: |
${{ env.DH_IMAGE }}
ghcr.io/${{ env.GH_IMAGE }}
+ ${{ secrets.ACR_SERVER }}/${{ secrets.ACR_USERNAME }}
tags: |
- type=ref,event=tag,suffix={{tag}}
- type=semver,pattern={{raw}},value=${{ steps.package-version.outputs.version }},prefix=release-
+ type=ref,event=tag,prefix=release-,suffix={{tag}}
+ type=semver,pattern={{raw}},value=${{ steps.package-version.outputs.version }}
labels: |
maintainer=Lissy93
org.opencontainers.image.title=Dashy
@@ -61,13 +64,20 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
+ - name: πŸ”‘ Login to Azure Container Registry
+ uses: docker/login-action@v1
+ with:
+ registry: ${{ secrets.ACR_SERVER }}
+ username: ${{ secrets.ACR_USERNAME }}
+ password: ${{ secrets.ACR_PASSWORD }}
+
- name: βš’οΈ Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile-multi-arch
platforms: linux/amd64,linux/arm64,linux/arm/v7
- push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
+ push: true
\ No newline at end of file