github: bump docker login-action to v3 #3
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
name: Build and publish release artifacts | |
on: | |
push: | |
tags: [ 'v*' ] | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
trivy-scan: | |
uses: "./.github/workflows/common-trivy.yaml" | |
permissions: | |
contents: read | |
security-events: write | |
with: | |
export-csv: true | |
codeql: | |
uses: "./.github/workflows/common-codeql.yaml" | |
permissions: | |
contents: read | |
security-events: write | |
with: | |
export-report: true | |
publish-images: | |
uses: "./.github/workflows/common-build-images.yaml" | |
needs: [trivy-scan] | |
secrets: inherit | |
with: | |
publish: true | |
image-tag: ${{ github.ref_name }} | |
github-environment: "release" | |
build-packages: | |
needs: [trivy-scan] | |
permissions: | |
contents: write | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build packages | |
run: "make cross-packages Q=" | |
- name: Build vendored dist tarball | |
run: "make vendored-dist Q=" | |
- name: Upload release assets | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: ${{ github.ref_name }} | |
draft: true | |
append_body: true | |
files: | | |
packages/release-assets/* | |
vendored-cri-resource-manager-*.tar.gz |