@@ -39,100 +39,6 @@ jobs:
39
39
# Job > Docker Release > Github
40
40
# #
41
41
42
- docker-release-github :
43
- name : >-
44
- 📦 Release › Github
45
- runs-on : ubuntu-latest
46
- permissions :
47
- contents : read
48
- packages : write
49
- attestations : write
50
- id-token : write
51
- steps :
52
-
53
- # #
54
- # Release > Github > Start
55
- # #
56
-
57
- - name : " ✅ Start"
58
- id : task_release_gh_start
59
- run : |
60
- echo "Starting Github docker release"
61
-
62
- # #
63
- # Release > Github > Checkout
64
- # #
65
-
66
- - name : " ☑️ Checkout"
67
- id : task_release_gh_checkout
68
- uses : actions/checkout@v4
69
- with :
70
- fetch-depth : 0
71
-
72
- # #
73
- # Release > Github > QEMU
74
- # #
75
-
76
- - name : " ⚙️ Set up QEMU"
77
- id : task_release_gh_qemu
78
- uses : docker/setup-qemu-action@v3
79
-
80
- # #
81
- # Release > Github > Setup BuildX
82
- # #
83
-
84
- - name : " ⚙️ Setup Buildx"
85
- id : task_release_gh_buildx
86
- uses : docker/setup-buildx-action@v3
87
- with :
88
- version : latest
89
- driver-opts : ' image=moby/buildkit:v0.10.5'
90
-
91
- # #
92
- # Release > Github > Registry Login
93
- # #
94
-
95
- - name : " ⚙️ Login to DockerHub"
96
- id : task_release_gh_registry
97
- if : github.event_name != 'pull_request'
98
- uses : docker/login-action@v3
99
- with :
100
- registry : ghcr.io
101
- username : ${{ github.actor }}
102
- password : ${{ secrets.SELF_TOKEN_CL }}
103
-
104
- # #
105
- # Release > Github > Meta
106
- # #
107
-
108
- - name : " 🔨 Docker meta"
109
- id : task_release_gh_meta
110
- uses : docker/metadata-action@v3
111
- with :
112
- images : |
113
- ghcr.io/Aetherinox/thetvapp-docker
114
- tags : |
115
- type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') }}
116
- type=ref,event=tag
117
-
118
- # #
119
- # Release > Github > Build and Push
120
- # #
121
-
122
- - name : " 📦 Build and push"
123
- id : task_release_gh_push
124
- uses : docker/build-push-action@v3
125
- with :
126
- context : .
127
- platforms : linux/amd64
128
- push : ${{ github.event_name != 'pull_request' }}
129
- tags : ${{ steps.task_release_gh_meta.outputs.tags }}
130
- labels : ${{ steps.task_release_gh_meta.outputs.labels }}
131
-
132
- # #
133
- # Job > Docker Release > Github
134
- # #
135
-
136
42
docker-release-dockerhub :
137
43
name : >-
138
44
📦 Release › Dockerhub
191
97
if : github.event_name != 'pull_request'
192
98
uses : docker/login-action@v3
193
99
with :
194
- registry : registry.docker.com
195
100
username : aetherinox
196
101
password : ${{ secrets.SELF_DOCKERHUB_TOKEN }}
197
102
0 commit comments