chore(deps): update docker.io/debian docker tag to trixie-20260505 #10
This file contains hidden or 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 Ironic iPXE Base Image | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "containers/ironic-ipxe/**" | |
| - ".github/workflows/build-ironic-ipxe.yaml" | |
| tags: | |
| - "ironic-ipxe/v*" | |
| pull_request: | |
| paths: | |
| - "containers/ironic-ipxe/**" | |
| - ".github/workflows/build-ironic-ipxe.yaml" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - name: setup docker buildx | |
| uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4 | |
| - name: login to ghcr.io | |
| if: startsWith(github.ref, 'refs/tags/ironic-ipxe/') | |
| uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: extract version from tag | |
| id: version | |
| if: startsWith(github.ref, 'refs/tags/ironic-ipxe/') | |
| run: echo "tag=${GITHUB_REF_NAME#ironic-ipxe/v}" >> "$GITHUB_OUTPUT" | |
| - name: image metadata | |
| id: meta | |
| uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6 | |
| with: | |
| images: ghcr.io/${{ github.repository }}/ironic-ipxe | |
| tags: | | |
| type=raw,value=${{ steps.version.outputs.tag }},enable=${{ startsWith(github.ref, 'refs/tags/ironic-ipxe/') }} | |
| type=raw,value=latest,enable={{is_default_branch}} | |
| type=raw,value=latest,enable=${{ github.event_name == 'workflow_dispatch' }} | |
| env: | |
| DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: build (and push on tag) | |
| uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7 | |
| with: | |
| context: containers/ironic-ipxe | |
| file: containers/ironic-ipxe/Dockerfile | |
| pull: true | |
| push: ${{ startsWith(github.ref, 'refs/tags/ironic-ipxe/') }} | |
| tags: ${{ steps.meta.outputs.tags }} | |
| labels: ${{ steps.meta.outputs.labels }} | |
| annotations: ${{ steps.meta.outputs.annotations }} |