|
12 | 12 | workflow_dispatch:
|
13 | 13 |
|
14 | 14 | jobs:
|
15 |
| - containers: |
16 |
| - name: Update CI container images |
| 15 | + container-bionic: |
| 16 | + name: Update CI container images (Bionic) |
17 | 17 | runs-on: ubuntu-latest
|
18 | 18 | if: ${{ github.repository == 'lanl/qmd-progress' }}
|
19 | 19 | steps:
|
|
32 | 32 | file: Dockerfile-bionic
|
33 | 33 | push: true
|
34 | 34 | tags: nicolasbock/qmd-progress:latest, nicolasbock/qmd-progress:bionic
|
| 35 | + - name: Image digest |
| 36 | + run: | |
| 37 | + echo "Bionic image: ${{ steps.docker_build_bionic.outputs.digest }}" |
| 38 | + container-focal: |
| 39 | + name: Update CI container images (Focal) |
| 40 | + runs-on: ubuntu-latest |
| 41 | + if: ${{ github.repository == 'lanl/qmd-progress' }} |
| 42 | + steps: |
| 43 | + - name: Checkout |
| 44 | + uses: actions/checkout@v3 |
| 45 | + - name: Login to DockerHub |
| 46 | + uses: docker/login-action@v2 |
| 47 | + with: |
| 48 | + username: ${{ secrets.DOCKERHUB_USERNAME }} |
| 49 | + password: ${{ secrets.DOCKERHUB_TOKEN }} |
35 | 50 | - name: Build and push experimental Focal Docker image
|
36 | 51 | uses: docker/build-push-action@v4
|
37 | 52 | id: docker_build_focal
|
|
40 | 55 | file: Dockerfile-focal
|
41 | 56 | push: true
|
42 | 57 | tags: nicolasbock/qmd-progress:focal
|
| 58 | + - name: Image digest |
| 59 | + run: | |
| 60 | + echo "Focal image: ${{ steps.docker_build_focal.outputs.digest }}" |
| 61 | + container-jammy: |
| 62 | + name: Update CI container images (Jammy) |
| 63 | + runs-on: ubuntu-latest |
| 64 | + if: ${{ github.repository == 'lanl/qmd-progress' }} |
| 65 | + steps: |
| 66 | + - name: Checkout |
| 67 | + uses: actions/checkout@v3 |
| 68 | + - name: Login to DockerHub |
| 69 | + uses: docker/login-action@v2 |
| 70 | + with: |
| 71 | + username: ${{ secrets.DOCKERHUB_USERNAME }} |
| 72 | + password: ${{ secrets.DOCKERHUB_TOKEN }} |
43 | 73 | - name: Build and push experimental Jammy Docker image
|
44 | 74 | uses: docker/build-push-action@v4
|
45 | 75 | id: docker_build_jammy
|
|
50 | 80 | tags: nicolasbock/qmd-progress:jammy
|
51 | 81 | - name: Image digest
|
52 | 82 | run: |
|
53 |
| - echo "Bionic image: ${{ steps.docker_build_bionic.outputs.digest }}" |
54 |
| - echo "Focal image: ${{ steps.docker_build_focal.outputs.digest }}" |
55 | 83 | echo "Jammy image: ${{ steps.docker_build_jammy.outputs.digest }}"
|
0 commit comments