This commit is contained in:
Jokob-sk committed 2023-06-25 08:25:29 +10:00
commit abe9ff5b2c
3 files changed
+64 -14

No files matched your search

+9 -2
View File
@@ -53,6 +53,13 @@ jobs:
type=semver,pattern={{major}}
type=sha
- name: Log in to Github Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: jokob-sk
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
@@ -68,5 +75,5 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=docker.io/jokobsk/pi.alert:buildcache
cache-to: type=registry,ref=docker.io/jokobsk/pi.alert:buildcache,mode=max
cache-from: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache
cache-to: type=registry,ref=ghcr.io/jokob-sk/pi.alert:buildcache,mode=max