WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

chore(deps): update actions/checkout action to v4.3.1 #553

chore(deps): update actions/checkout action to v4.3.1

chore(deps): update actions/checkout action to v4.3.1 #553

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:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Login to DockerHub
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.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@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
with:
# https://github.com/docker/setup-qemu-action/issues/188#issuecomment-2604322104
image: tonistiigi/binfmt:qemu-v8.1.5
platforms: linux/amd64,linux/arm64
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
with:
version: latest
driver-opts: network=host
- name: Docker meta
id: meta
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.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@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.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') }}