Skip to content

chore(deps): update alpine docker tag to v3.21.3 #658

chore(deps): update alpine docker tag to v3.21.3

chore(deps): update alpine docker tag to v3.21.3 #658

Workflow file for this run

# 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 }}