|
@ -16,6 +16,8 @@ jobs: |
|
|
if: | |
|
|
if: | |
|
|
github.repository_owner == 'wg-easy' && |
|
|
github.repository_owner == 'wg-easy' && |
|
|
startsWith(github.ref, 'refs/tags/v') |
|
|
startsWith(github.ref, 'refs/tags/v') |
|
|
|
|
|
permissions: |
|
|
|
|
|
packages: write |
|
|
strategy: |
|
|
strategy: |
|
|
fail-fast: false |
|
|
fail-fast: false |
|
|
matrix: |
|
|
matrix: |
|
@ -59,7 +61,7 @@ jobs: |
|
|
context: . |
|
|
context: . |
|
|
platforms: ${{ matrix.platform }} |
|
|
platforms: ${{ matrix.platform }} |
|
|
labels: ${{ steps.meta.outputs.labels }} |
|
|
labels: ${{ steps.meta.outputs.labels }} |
|
|
tags: ${{ steps.meta.outputs.tags }} |
|
|
tags: ghcr.io/wg-easy/wg-easy |
|
|
outputs: type=image,push-by-digest=true,name-canonical=true,push=true |
|
|
outputs: type=image,push-by-digest=true,name-canonical=true,push=true |
|
|
cache-from: type=gha,scope=build-${{ env.PLATFORM_PAIR }} |
|
|
cache-from: type=gha,scope=build-${{ env.PLATFORM_PAIR }} |
|
|
cache-to: type=gha,mode=min,scope=build-${{ env.PLATFORM_PAIR }} |
|
|
cache-to: type=gha,mode=min,scope=build-${{ env.PLATFORM_PAIR }} |
|
@ -86,7 +88,6 @@ jobs: |
|
|
startsWith(github.ref, 'refs/tags/v') |
|
|
startsWith(github.ref, 'refs/tags/v') |
|
|
permissions: |
|
|
permissions: |
|
|
packages: write |
|
|
packages: write |
|
|
contents: read |
|
|
|
|
|
needs: docker-build |
|
|
needs: docker-build |
|
|
steps: |
|
|
steps: |
|
|
- name: Download digests |
|
|
- name: Download digests |
|
|