-
Notifications
You must be signed in to change notification settings - Fork 2
66 lines (63 loc) · 2.11 KB
/
docker-image.yaml
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
57
58
59
60
61
62
63
64
65
66
# This file is available under the following license:
# under LGPL 2.1 (LICENSE.TXT) Copyright 2023 Torsten Friebe <[email protected]>
name: Docker Image CI
on:
schedule:
- cron: "0 1 * * *"
push:
branches: [ "main" ]
jobs:
build-3_4:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push v3.4
uses: docker/build-push-action@v5
with:
context: ./3.4
platforms: linux/amd64,linux/arm64
push: true
tags: deegree/deegree3-docker:v3.4.35,deegree/deegree3-docker:v3.4,deegree/deegree3-docker:3.4
build-3_5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push v3.5
uses: docker/build-push-action@v5
with:
context: ./3.5
platforms: linux/amd64,linux/arm64
push: true
tags: deegree/deegree3-docker:3.5.8,deegree/deegree3-docker:3.5,deegree/deegree3-docker:latest
build-3_6:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push v3.6
uses: docker/build-push-action@v5
with:
context: ./3.6
platforms: linux/amd64,linux/arm64
push: true
tags: deegree/deegree3-docker:3.6.0,deegree/deegree3-docker:3.6