Skip to content

Commit

Permalink
Fix docker workflow permission (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Feb 4, 2023
1 parent 7dc887d commit 2d0a253
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---

name: Docker

on:
Expand All @@ -7,10 +9,16 @@ on:
tags:
- v*

permissions:
contents: read

jobs:
publish:
name: Build and push Docker image
runs-on: ubuntu-latest
permissions:
packages: write
id-token: write
steps:
- name: Checkout default branch
uses: actions/checkout@v2
Expand Down Expand Up @@ -58,4 +66,3 @@ jobs:
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
push: true
tags: ${{ steps.prep.outputs.tags }}

0 comments on commit 2d0a253

Please sign in to comment.