-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (47 loc) · 1.65 KB
/
push-to-registry.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Push to Registry
on:
workflow_dispatch:
push:
tags:
- '**'
env:
IMAGE_NAME: cardinal4/conda-mvn
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: ${{ env.IMAGE_NAME }}
- name: Build & Push Miniconda2 to Docker Hub
run: |
./miniconda2.alpine3.9-ibmjava8-3/build.sh
./miniconda2.alpine3.9-temurin11-3/build.sh
./miniconda2.alpine3.9-temurin17-3/build.sh
./miniconda2.debian8-temurin8-3/build.sh
./miniconda2.debian8-temurin11-3/build.sh
./miniconda2.debian8-temurin17-3/build.sh
- name: Build & Push Miniconda3 to Docker Hub
run: |
./miniconda3-temurin8-3/build.sh
./miniconda3-temurin11-3/build.sh
./miniconda3-temurin17-3/build.sh
./miniconda3.alpine-ibmjava8-3/build.sh
./miniconda3.alpine-temurin11-3/build.sh
./miniconda3.alpine-temurin17-3/build.sh
- name: Build & Push Miniforge3 to Docker Hub
run: |
./miniforge3-temurin8-3/build.sh
./miniforge3-temurin11-3/build.sh
./miniforge3-temurin17-3/build.sh