Update quay.io/kairos/packages-arm64 Docker tag to v20231211185434 - autoclosed #75
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 images 🔧 | |
on: | |
pull_request: | |
jobs: | |
get-old-versions: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Extract versions | |
run: | | |
docker run --name generic quay.io/kairos/framework:main_generic true || true | |
docker cp generic:/framework/etc/kairos/versions.yaml versions_generic.old.yaml | |
docker rm generic | |
docker run --name fips quay.io/kairos/framework:main_fips true || true | |
docker cp fips:/framework/etc/kairos/versions.yaml versions_fips.old.yaml | |
docker rm fips | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: old_versions.zip | |
path: | | |
versions_generic.old.yaml | |
versions_fips.old.yaml | |
build-generic: | |
uses: ./.github/workflows/reusable-build.yaml | |
secrets: inherit | |
with: | |
security_profile: generic | |
build-fips: | |
uses: ./.github/workflows/reusable-build.yaml | |
secrets: inherit | |
with: | |
security_profile: fips | |
comment-pr: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
needs: [build-generic, build-fips, get-old-versions] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Download versions | |
uses: actions/download-artifact@v3 | |
with: | |
name: versions_generic.zip | |
- name: Download versions fips | |
uses: actions/download-artifact@v3 | |
with: | |
name: versions_fips.zip | |
- name: Download old versions | |
uses: actions/download-artifact@v3 | |
with: | |
name: old_versions.zip | |
- name: Generate PR text | |
run: | | |
.github/diffversions.sh | |
- name: Comment PR | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
comment_tag: bot-comment | |
filePath: pr-message | |