chore(deps): pin peter-evans/create-pull-request action to c5a7806 #6
Workflow file for this run
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
# SPDX-FileCopyrightText: 2023 Siemens AG | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
# | |
# Author: Michael Adler <michael.adler@siemens.com> | |
--- | |
name: Release | |
on: | |
push: | |
tags: | |
- "v*" | |
permissions: | |
contents: write | |
jobs: | |
wfx: | |
runs-on: ubuntu-latest | |
container: golang:1.22.5@sha256:fcae9e0e7313c6467a7c6632ebb5e5fab99bd39bd5eb6ee34a211353e647827a | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Disable git security features | |
run: git config --global safe.directory '*' | |
- run: .ci/setup-build.sh | |
# goreleaser requires an absolute path to the compiler | |
- run: install -m0755 .ci/zcc /usr/local/bin/zcc | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3 | |
with: | |
registry: ghcr.io | |
username: ${{ secrets.PACKAGE_DEPLOY_USER }} | |
password: ${{ secrets.PACKAGE_DEPLOY_TOKEN }} | |
- name: Run GoReleaser | |
run: goreleaser release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.PACKAGE_DEPLOY_TOKEN }} | |
CC: /usr/local/bin/zcc |