-
Notifications
You must be signed in to change notification settings - Fork 10
56 lines (49 loc) · 1.99 KB
/
merge-build-production-docker-images.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
56
# Alexander Tebiev - https://github.com/beeyev
name: Build Production Docker Images
on:
push:
branches: [ master ]
schedule:
- cron: "23 1 2 * *"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
docker-image-deploy:
uses: ./.github/workflows/callable-build-docker-image.yml
strategy:
fail-fast: false
matrix:
baseDist: [ 'slim-alpine', 'debian' ]
versionMinor: [ '7.7' ]
versionMajor: [ '7' ]
name: Build Production Docker Images / ${{ matrix.versionMinor }}-${{ matrix.baseDist }}
with:
DOCKER_REGISTRY_IMAGE: |
ghcr.io/beeyev/thumbor-s3:${{ matrix.baseDist }}
ghcr.io/beeyev/thumbor-s3:${{ matrix.versionMinor }}-${{ matrix.baseDist }}
ghcr.io/beeyev/thumbor-s3:${{ matrix.versionMajor }}-${{ matrix.baseDist }}
beeyev/thumbor-s3:${{ matrix.baseDist }}
beeyev/thumbor-s3:${{ matrix.versionMinor }}-${{ matrix.baseDist }}
beeyev/thumbor-s3:${{ matrix.versionMajor }}-${{ matrix.baseDist }}
quay.io/beeyev/thumbor-s3:${{ matrix.baseDist }}
quay.io/beeyev/thumbor-s3:${{ matrix.versionMinor }}-${{ matrix.baseDist }}
quay.io/beeyev/thumbor-s3:${{ matrix.versionMajor }}-${{ matrix.baseDist }}
DOCKERFILE_PATH: ./docker/thumbor-${{ matrix.versionMinor }}/${{ matrix.baseDist }}.Dockerfile
PLATFORMS: linux/amd64,linux/arm64
secrets: inherit
update-docker-hub-repo-description:
name: Update Docker repo description
runs-on: ubuntu-latest
needs: docker-image-deploy
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Update Docker Hub repo description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: beeyev/thumbor-s3
#short-description: ${{ github.event.repository.description }}