Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Bump actions/checkout from 2 to 4 #9

Bump actions/checkout from 2 to 4

Bump actions/checkout from 2 to 4 #9

Workflow file for this run

name: Uni-Dock/Tools Build Image Workflow
on:
push:
branches:
- main
jobs:
build_unidock_docker_image:
if: github.repository_owner == 'dptech-corp'
runs-on: ubuntu-latest
strategy:
matrix:
cuda-version: ["12.0.0"]
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: dptechnology
password: ${{ secrets.DOCKERHUB_PAT }}
- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 7
- name: build and push container
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
tags: dptechnology/unidock:${{ steps.short-sha.outputs.sha }},dptechnology/unidock:latest
file: containers/Dockerfile.cuda${{ matrix.cuda-version }}
context: "{{defaultContext}}:unidock"
push: true
build_unidock_tools_docker_image:
if: github.repository_owner == 'dptech-corp'
runs-on: ubuntu-latest
strategy:
matrix:
cuda-version: ["12.0.0"]
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: dptechnology
password: ${{ secrets.DOCKERHUB_PAT }}
- uses: benjlevesque/[email protected]
id: short-sha
with:
length: 7
- name: build and push container
uses: docker/build-push-action@v5
with:
platforms: linux/amd64
build-args: BASE_IMAGE=xmyyn/unidock_tools_base:0.0.1_cuda${{ matrix.cuda-version }}
tags: dptechnology/unidock_tools:${{ steps.short-sha.outputs.sha }},dptechnology/unidock_tools:latest
file: unidock_tools/containers/Dockerfile
push: true