Skip to content

Commit a4d13d0

Browse files
committed
👷(hackdays) publish the docker image
Publish the Docker images to deploy on a dedicated instance for the Hackdays.
1 parent eeddbf7 commit a4d13d0

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

.github/workflows/docker-hub.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ on:
55
workflow_dispatch:
66
push:
77
branches:
8-
- 'main'
9-
tags:
10-
- 'v*'
11-
pull_request:
12-
branches:
13-
- 'main'
14-
- 'ci/trivy-fails'
8+
- 'do-not-merge/hackathon-2025'
159

1610
env:
1711
DOCKER_USER: 1001:127
@@ -31,7 +25,6 @@ jobs:
3125
images: lasuite/impress-backend
3226
-
3327
name: Login to DockerHub
34-
if: github.event_name != 'pull_request'
3528
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USER }}" --password-stdin
3629
-
3730
name: Run trivy scan
@@ -46,7 +39,6 @@ jobs:
4639
context: .
4740
target: backend-production
4841
build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
49-
push: ${{ github.event_name != 'pull_request' }}
5042
tags: ${{ steps.meta.outputs.tags }}
5143
labels: ${{ steps.meta.outputs.labels }}
5244

@@ -64,7 +56,6 @@ jobs:
6456
images: lasuite/impress-frontend
6557
-
6658
name: Login to DockerHub
67-
if: github.event_name != 'pull_request'
6859
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USER }}" --password-stdin
6960
-
7061
name: Run trivy scan
@@ -82,7 +73,6 @@ jobs:
8273
build-args: |
8374
DOCKER_USER=${{ env.DOCKER_USER }}:-1000
8475
PUBLISH_AS_MIT=false
85-
push: ${{ github.event_name != 'pull_request' }}
8676
tags: ${{ steps.meta.outputs.tags }}
8777
labels: ${{ steps.meta.outputs.labels }}
8878

@@ -100,7 +90,6 @@ jobs:
10090
images: lasuite/impress-y-provider
10191
-
10292
name: Login to DockerHub
103-
if: github.event_name != 'pull_request'
10493
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USER }}" --password-stdin
10594
-
10695
name: Run trivy scan
@@ -116,7 +105,6 @@ jobs:
116105
file: ./src/frontend/servers/y-provider/Dockerfile
117106
target: y-provider
118107
build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
119-
push: ${{ github.event_name != 'pull_request' }}
120108
tags: ${{ steps.meta.outputs.tags }}
121109
labels: ${{ steps.meta.outputs.labels }}
122110

@@ -125,7 +113,6 @@ jobs:
125113
- build-and-push-frontend
126114
- build-and-push-backend
127115
runs-on: ubuntu-latest
128-
if: github.event_name != 'pull_request'
129116
steps:
130117
- uses: numerique-gouv/action-argocd-webhook-notification@main
131118
id: notify

0 commit comments

Comments
 (0)