chore(deps): update dependency alpine_3_21/k0sctl to v0.19.4-r2 (#175) #655
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
# https://docs.docker.com/ci-cd/github-actions/ | |
name: buildx ci | |
on: | |
push: | |
branches: | |
- "main" | |
tags: | |
- "v*" | |
pull_request: | |
branches: | |
- "main" | |
env: | |
TESTING_TAG: ${{ secrets.DOCKERHUB_USERNAME }}/k0sctl-handler:test | |
RELEASE_TAG: ${{ secrets.DOCKERHUB_USERNAME }}/k0sctl-handler:latest | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca | |
- name: Login to DockerHub | |
uses: docker/login-action@327cd5a69de6c009b9ce71bce8395f28e651bf99 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build and export to Docker | |
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 | |
with: | |
context: . | |
load: true | |
tags: ${{ env.TESTING_TAG }} | |
- name: Test | |
run: | | |
docker run --rm ${{ env.TESTING_TAG }} | |
- name: Build and push | |
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 | |
with: | |
context: . | |
platforms: linux/amd64,linux/arm64 | |
push: true | |
tags: ${{ env.RELEASE_TAG }} |