chore(deps): update docker/setup-buildx-action action to v3.2.0 (#54) #3
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: Publish k3s image | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- docker/** | |
- .github/workflows/publish-image.yaml | |
jobs: | |
publish-k3s-image: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ["v1.27.11-k3s1", "v1.28.7-k3s1", "v1.29.2-k3s1"] | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3.2.0 | |
- name: Setup UDS | |
if: always() | |
uses: defenseunicorns/uds-common/.github/actions/[email protected] | |
with: | |
username: ${{secrets.IRON_BANK_ROBOT_USERNAME}} | |
password: ${{secrets.IRON_BANK_ROBOT_PASSWORD}} | |
- name: Login to GHCR | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: dummy | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish the custom k3s image | |
run: uds run publish-image --set VERSION=${{matrix.version}} |