chore(deps): update docker/login-action digest to 0d4c9c5 (#79) #11
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.13-k3s1", "v1.28.9-k3s1", "v1.29.4-k3s1"] | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0 | |
- name: Setup UDS | |
if: always() | |
uses: defenseunicorns/uds-common/.github/actions/setup@859a9b2469c8a6c24c414fe34b127ec5677aea62 # v0.4.3 | |
with: | |
username: ${{secrets.IRON_BANK_ROBOT_USERNAME}} | |
password: ${{secrets.IRON_BANK_ROBOT_PASSWORD}} | |
- name: Login to GHCR | |
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # 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}} --no-progress |