Skip to content

chore(deps): update docker/login-action action to v4.2.0 #632

chore(deps): update docker/login-action action to v4.2.0

chore(deps): update docker/login-action action to v4.2.0 #632

name: Build Miniconda3 Debian Image
on:
push:
branches:
- main
tags:
- 'miniconda3-*.*.*'
paths:
- 'miniconda3/debian/Dockerfile'
- '.github/workflows/miniconda_debian_ci.yml'
pull_request:
paths:
- 'miniconda3/debian/Dockerfile'
- '.github/workflows/miniconda_debian_ci.yml'
workflow_dispatch:
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
env:
# renovate: datasource=docker depName=moby/buildkit
BUILDKIT_IMAGE_VERSION: v0.22.0@sha256:832fa7aa1eb3deb56fa62ae933bfa42dad9a83ff4824dbbaf173b49c722b59d0
# renovate: datasource=github-releases depName=docker/buildx
BUILDX_VERSION: v0.33.0
# renovate: datasource=docker depName=tonistiigi/binfmt
QEMU_IMAGE_VERSION: qemu-v9.2.2@sha256:1b804311fe87047a4c96d38b4b3ef6f62fca8cd125265917a9e3dc3c996c39e6
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Login to DockerHub
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags')
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
with:
image: tonistiigi/binfmt:${{ env.QEMU_IMAGE_VERSION }}
platforms: linux/amd64,linux/arm64
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
with:
cache-binary: false
driver-opts: network=host,image=moby/buildkit:${{ env.BUILDKIT_IMAGE_VERSION }}
version: ${{ env.BUILDX_VERSION }}
- name: Docker meta
id: meta
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
with:
images: continuumio/miniconda3
tags: |
type=ref,event=branch
type=ref,event=pr
type=match,pattern=miniconda3-(.*),group=1
type=match,pattern=miniconda3-(.*)-(.*),group=1
- name: build miniconda3/debian
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: ./miniconda3/debian
builder: ${{ steps.buildx.outputs.name }}
file: ./miniconda3/debian/Dockerfile
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags') }}