From 0bdb43c2f57127d3f4fbad1d2a2d349060cb026a Mon Sep 17 00:00:00 2001 From: Emile Nijssen Date: Sun, 17 Dec 2023 22:31:58 +0100 Subject: [PATCH] wip --- .github/workflows/deploy.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c33c1b1..2a6fc87 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,8 +10,11 @@ jobs: deploy: name: Build & Deploy runs-on: ubuntu-latest + permissions: + packages: write + contents: read steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: production @@ -22,7 +25,7 @@ jobs: uses: docker/setup-buildx-action@v1 - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -32,7 +35,7 @@ jobs: run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV - name: Build & Publish Docker Image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: push: true platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8