ci: Allow write for contents and id-token
This commit is contained in:
parent
6a4c89d567
commit
e8e8bfa096
3 changed files with 12 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -12,6 +12,9 @@ env:
|
|||
|
||||
jobs:
|
||||
build:
|
||||
permissions:
|
||||
id-token: write # Enable OIDC
|
||||
contents: write
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
|
|
|||
3
.github/workflows/tag.yml
vendored
3
.github/workflows/tag.yml
vendored
|
|
@ -10,6 +10,9 @@ env:
|
|||
|
||||
jobs:
|
||||
tag:
|
||||
permissions:
|
||||
id-token: write # Enable OIDC
|
||||
contents: write
|
||||
timeout-minutes: 60
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,12 @@ install:
|
|||
SAVE ARTIFACT target/$BUILD_TARGET/release/bb
|
||||
|
||||
common:
|
||||
FROM registry.gitlab.com/wunker-bunker/cargo-builder
|
||||
FROM rust
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y musl-dev && \
|
||||
rustup component add clippy && \
|
||||
rustup target add x86_64-unknown-linux-musl
|
||||
|
||||
WORKDIR /app
|
||||
COPY --keep-ts --dir src/ templates/ /app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue