Skip to content

Commit a74599f

Browse files
committed
ci: test
1 parent b73a5fa commit a74599f

File tree

2 files changed

+0
-306
lines changed

2 files changed

+0
-306
lines changed

.github/workflows/deploy-docker-main.yml

-195
Original file line numberDiff line numberDiff line change
@@ -80,198 +80,3 @@ jobs:
8080
id: task_release_gh_start
8181
run: |
8282
echo "Starting Github docker release"
83-
84-
# #
85-
# Release > Github > Checkout
86-
# #
87-
88-
- name: "☑️ Checkout"
89-
id: task_release_gh_checkout
90-
uses: actions/checkout@v4
91-
with:
92-
fetch-depth: 0
93-
94-
# #
95-
# Release > Github > QEMU
96-
# #
97-
98-
- name: "⚙️ Set up QEMU"
99-
id: task_release_gh_qemu
100-
uses: docker/setup-qemu-action@v3
101-
102-
# #
103-
# Release > Github > Setup BuildX
104-
# #
105-
106-
- name: "⚙️ Setup Buildx"
107-
id: task_release_gh_buildx
108-
uses: docker/setup-buildx-action@v3
109-
with:
110-
version: latest
111-
driver-opts: 'image=moby/buildkit:v0.10.5'
112-
113-
# #
114-
# Release > Github > Registry Login
115-
# #
116-
117-
- name: "⚙️ Login to DockerHub"
118-
id: task_release_gh_registry
119-
if: github.event_name != 'pull_request'
120-
uses: docker/login-action@v3
121-
with:
122-
registry: ghcr.io
123-
username: ${{ github.actor }}
124-
password: ${{ secrets.SELF_TOKEN_CL }}
125-
126-
# #
127-
# Release > Github > Meta
128-
# #
129-
130-
- name: "🔨 Docker meta"
131-
id: task_release_gh_meta
132-
uses: docker/metadata-action@v5
133-
with:
134-
images: |
135-
ghcr.io/Aetherinox/thetvapp-docker
136-
tags: |
137-
type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') }}
138-
type=ref,event=tag
139-
140-
# #
141-
# Release > Github > Debug
142-
# #
143-
144-
- name: "🪪 Debug › Print"
145-
id: task_release_gh_print
146-
run: |
147-
echo "registry ............. Github"
148-
echo "github.actor.......... ${{ github.actor }}"
149-
echo "github.ref ........... ${{ github.ref }}"
150-
echo "github.event_name .... ${{ github.event_name }}"
151-
echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}"
152-
echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}"
153-
154-
# #
155-
# Release > Github > Build and Push
156-
# #
157-
158-
- name: "📦 Build and push"
159-
id: task_release_gh_push
160-
uses: docker/build-push-action@v3
161-
if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' )
162-
with:
163-
context: .
164-
file: Dockerfile
165-
platforms: linux/amd64
166-
push: ${{ github.event_name != 'pull_request' }}
167-
tags: ${{ steps.task_release_gh_meta.outputs.tags }}
168-
labels: ${{ steps.task_release_gh_meta.outputs.labels }}
169-
170-
# #
171-
# Job > Docker Release > Github
172-
# #
173-
174-
docker-release-dockerhub:
175-
name: >-
176-
📦 Release › Dockerhub
177-
runs-on: ubuntu-latest
178-
permissions:
179-
contents: read
180-
packages: write
181-
attestations: write
182-
id-token: write
183-
steps:
184-
185-
# #
186-
# Release > Dockerhub > Start
187-
# #
188-
189-
- name: "✅ Start"
190-
id: task_release_dh_start
191-
run: |
192-
echo "Starting Github docker release"
193-
194-
# #
195-
# Release > Dockerhub > Checkout
196-
# #
197-
198-
- name: "☑️ Checkout"
199-
id: task_release_dh_checkout
200-
uses: actions/checkout@v4
201-
with:
202-
fetch-depth: 0
203-
204-
# #
205-
# Release > Dockerhub > QEMU
206-
# #
207-
208-
- name: "⚙️ Set up QEMU"
209-
id: task_release_dh_qemu
210-
uses: docker/setup-qemu-action@v3
211-
212-
# #
213-
# Release > Dockerhub > Setup BuildX
214-
# #
215-
216-
- name: "⚙️ Setup Buildx"
217-
id: task_release_dh_buildx
218-
uses: docker/setup-buildx-action@v3
219-
with:
220-
version: latest
221-
driver-opts: 'image=moby/buildkit:v0.10.5'
222-
223-
# #
224-
# Release > Dockerhub > Registry Login
225-
# #
226-
227-
- name: "⚙️ Login to DockerHub"
228-
id: task_release_dh_registry
229-
if: github.event_name != 'pull_request'
230-
uses: docker/login-action@v3
231-
with:
232-
username: aetherinox
233-
password: ${{ secrets.SELF_DOCKERHUB_TOKEN }}
234-
235-
# #
236-
# Release > Dockerhub > Meta
237-
# #
238-
239-
- name: "🔨 Docker meta"
240-
id: task_release_dh_meta
241-
uses: docker/metadata-action@v5
242-
with:
243-
images: |
244-
aetherinox/thetvapp
245-
tags: |
246-
type=raw,value=latest,enable=${{ endsWith(github.ref, 'main') }}
247-
type=ref,event=tag
248-
249-
# #
250-
# Release > Dockerhub > Debug
251-
# #
252-
253-
- name: "🪪 Debug › Print"
254-
id: task_release_dh_print
255-
run: |
256-
echo "registry ............. Dockerhub"
257-
echo "github.actor.......... ${{ github.actor }}"
258-
echo "github.ref ........... ${{ github.ref }}"
259-
echo "github.event_name .... ${{ github.event_name }}"
260-
echo "tags ................. ${{ steps.task_release_dh_meta.outputs.tags }}"
261-
echo "labels ............... ${{ steps.task_release_dh_meta.outputs.labels }}"
262-
263-
# #
264-
# Release > Dockerhub > Build and Push
265-
# #
266-
267-
- name: "📦 Build and push"
268-
id: task_release_dh_push
269-
uses: docker/build-push-action@v3
270-
if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' )
271-
with:
272-
context: .
273-
file: Dockerfile
274-
platforms: linux/amd64
275-
push: ${{ github.event_name != 'pull_request' }}
276-
tags: ${{ steps.task_release_dh_meta.outputs.tags }}
277-
labels: ${{ steps.task_release_dh_meta.outputs.labels }}

.github/workflows/deploy-docker-php.yml

-111
Original file line numberDiff line numberDiff line change
@@ -168,114 +168,3 @@ jobs:
168168
push: ${{ github.event_name != 'pull_request' }}
169169
tags: ${{ steps.task_release_gh_meta.outputs.tags }}
170170
labels: ${{ steps.task_release_gh_meta.outputs.labels }}
171-
172-
# #
173-
# Job > Docker Release > Github
174-
# #
175-
176-
docker-release-dockerhub:
177-
name: >-
178-
📦 Release › Dockerhub
179-
runs-on: ubuntu-latest
180-
permissions:
181-
contents: read
182-
packages: write
183-
attestations: write
184-
id-token: write
185-
steps:
186-
187-
# #
188-
# Release > Dockerhub > Start
189-
# #
190-
191-
- name: "✅ Start"
192-
id: task_release_dh_start
193-
run: |
194-
echo "Starting Github docker release"
195-
196-
# #
197-
# Release > Dockerhub > Checkout
198-
# #
199-
200-
- name: "☑️ Checkout"
201-
id: task_release_dh_checkout
202-
uses: actions/checkout@v4
203-
with:
204-
fetch-depth: 0
205-
206-
# #
207-
# Release > Dockerhub > QEMU
208-
# #
209-
210-
- name: "⚙️ Set up QEMU"
211-
id: task_release_dh_qemu
212-
uses: docker/setup-qemu-action@v3
213-
214-
# #
215-
# Release > Dockerhub > Setup BuildX
216-
# #
217-
218-
- name: "⚙️ Setup Buildx"
219-
id: task_release_dh_buildx
220-
uses: docker/setup-buildx-action@v3
221-
with:
222-
version: latest
223-
driver-opts: 'image=moby/buildkit:v0.10.5'
224-
225-
# #
226-
# Release > Dockerhub > Registry Login
227-
# #
228-
229-
- name: "⚙️ Login to DockerHub"
230-
id: task_release_dh_registry
231-
if: github.event_name != 'pull_request'
232-
uses: docker/login-action@v3
233-
with:
234-
username: aetherinox
235-
password: ${{ secrets.SELF_DOCKERHUB_TOKEN }}
236-
237-
# #
238-
# Release > Dockerhub > Meta
239-
# #
240-
241-
- name: "🔨 Docker meta"
242-
id: task_release_dh_meta
243-
uses: docker/metadata-action@v5
244-
with:
245-
flavor: |
246-
latest=false
247-
images: |
248-
aetherinox/thetvapp
249-
tags: |
250-
type=raw,value=latest,enable=false
251-
type=ref,enable=true,priority=600,prefix=,suffix=-php,event=tag
252-
253-
# #
254-
# Release > Dockerhub > Debug
255-
# #
256-
257-
- name: "🪪 Debug › Print"
258-
id: task_release_dh_print
259-
run: |
260-
echo "registry ............. Dockerhub"
261-
echo "github.actor.......... ${{ github.actor }}"
262-
echo "github.ref ........... ${{ github.ref }}"
263-
echo "github.event_name .... ${{ github.event_name }}"
264-
echo "tags ................. ${{ steps.task_release_dh_meta.outputs.tags }}"
265-
echo "labels ............... ${{ steps.task_release_dh_meta.outputs.labels }}"
266-
267-
# #
268-
# Release > Dockerhub > Build and Push
269-
# #
270-
271-
- name: "📦 Build and push"
272-
id: task_release_dh_push
273-
uses: docker/build-push-action@v3
274-
if: ( github.event_name == 'workflow_dispatch' && inputs.PRINT_ONLY == 'false' )
275-
with:
276-
context: .
277-
file: Dockerfile-php.template
278-
platforms: linux/amd64
279-
push: ${{ github.event_name != 'pull_request' }}
280-
tags: ${{ steps.task_release_dh_meta.outputs.tags }}
281-
labels: ${{ steps.task_release_dh_meta.outputs.labels }}

0 commit comments

Comments
 (0)