Skip to content

Commit

Permalink
fix ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
sholdee committed Jun 30, 2024
1 parent 7ac2c94 commit 75f10f1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
branches:
- master

permissions:
contents: read
packages: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -79,8 +83,8 @@ jobs:
tags: |
sholdee/adguardexporter:latest
sholdee/adguardexporter:${{ github.ref_name }}
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
ghcr.io/${{ github.repository_owner }}/adguard-exporter:latest
ghcr.io/${{ github.repository_owner }}/adguard-exporter:${{ github.ref_name }}
platforms: linux/amd64,linux/arm64
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
Expand Down

0 comments on commit 75f10f1

Please sign in to comment.