gomod(deps): bump github.com/opencontainers/runc from 1.1.15 to 1.2.1… #1399
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release/staging | |
on: | |
push: | |
branches: [staging] | |
permissions: | |
contents: write | |
packages: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
container: kraftkit.sh/myself-full:latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Fetch all tags | |
run: | | |
git config --global --add safe.directory /__w/kraftkit/kraftkit | |
git fetch --force --tags | |
- name: Generate GoReleaser configuration | |
run: | | |
ytt -f .goreleaser-staging.yaml > goreleaser-staging.yaml | |
- name: Run GoReleaser | |
run: | | |
git tag -d "$(git describe)" || true | |
git config user.name "Unikraft Bot" | |
git config user.email "[email protected]" | |
git tag -a "$(git describe)" -m "Pre-release: $(git describe)" | |
echo "$GOOGLE_APPLICATION_JSON" > /tmp/gs.json | |
goreleaser build \ | |
--config goreleaser-staging.yaml \ | |
--skip-validate | |
goreleaser release \ | |
--config goreleaser-staging.yaml \ | |
--rm-dist \ | |
--skip-validate | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} |