|
|
|
|
@ -16,7 +16,7 @@ env:
|
|
|
|
|
DOCKERHUB_REGISTRY: docker.io
|
|
|
|
|
IMAGE_NAME: ${{ github.repository }}
|
|
|
|
|
TEST_TAG: triliumnext/notes:test
|
|
|
|
|
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7,linux/arm64/v8
|
|
|
|
|
PLATFORMS: linux/amd64,linux/arm64,linux/arm/v7
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
test_docker:
|
|
|
|
|
@ -73,9 +73,6 @@ jobs:
|
|
|
|
|
packages: write
|
|
|
|
|
attestations: write
|
|
|
|
|
id-token: write
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
architecture: [linux/amd64, linux/arm64, linux/arm/v7, linux/arm64/v8]
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
- name: Extract metadata (tags, labels) for GHCR image
|
|
|
|
|
@ -118,7 +115,7 @@ jobs:
|
|
|
|
|
id: ghcr-push
|
|
|
|
|
with:
|
|
|
|
|
context: .
|
|
|
|
|
platforms: ${{ matrix.architecture }}
|
|
|
|
|
platforms: ${{ env.PLATFORMS }}
|
|
|
|
|
push: true
|
|
|
|
|
tags: ${{ steps.ghcr-meta.outputs.tags }}
|
|
|
|
|
labels: ${{ steps.ghcr-meta.outputs.labels }}
|
|
|
|
|
@ -141,7 +138,7 @@ jobs:
|
|
|
|
|
id: dh-push
|
|
|
|
|
with:
|
|
|
|
|
context: .
|
|
|
|
|
platforms: ${{ matrix.architecture }}
|
|
|
|
|
platforms: ${{ env.PLATFORMS }}
|
|
|
|
|
push: true
|
|
|
|
|
tags: ${{ steps.dh-meta.outputs.tags }}
|
|
|
|
|
labels: ${{ steps.dh-meta.outputs.labels }}
|
|
|
|
|
|