-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (69 loc) · 2.16 KB
/
main.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
57
58
59
60
61
62
63
64
65
66
67
68
69
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- id: meta
uses: docker/metadata-action@v5
with:
images: |
sstc/headful-chromium
tags: |
type=raw,value=latest
type=raw,value=ubuntu
type=raw,value=ubuntu-24
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: :ubuntu
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./Dockerfile
tags: ${{ steps.meta.outputs.tags }}
- name: ubuntu-20
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./ubuntu-20/Dockerfile
tags: sstc/headful-chromium:ubuntu-20
- name: ubuntu-22
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./ubuntu-22/Dockerfile
tags: sstc/headful-chromium:ubuntu-22
- name: :debian-11
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./debian-11/Dockerfile
tags: sstc/headful-chromium:debian-11
- name: :debian-12
uses: docker/build-push-action@v6
with:
push: true
platforms: linux/amd64,linux/arm64
file: ./debian-12/Dockerfile
tags: sstc/headful-chromium:debian-12
- uses: actions/checkout@v4
- uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_PASSWORD }}
with:
destination_container_repo: sstc/headful-chromium
short_description: https://github.com/${{ github.repository }}
- uses: up9cloud/action-notify@master
if: cancelled() == false
env:
GITHUB_JOB_STATUS: ${{ job.status }}
TELEGRAM_BOT_TOKEN: ${{secrets.TELEGRAM_BOT_TOKEN}}
TELEGRAM_CHAT_ID: ${{secrets.TELEGRAM_CHAT_ID}}