Skip to content

Commit f8e3553

Browse files
committed
Fix preprod
1 parent cae9a42 commit f8e3553

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/preprod-publish.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Preprod
1+
name: Build and Publish Preprod
22

33
on:
44
workflow_dispatch:
@@ -33,21 +33,11 @@ jobs:
3333
with:
3434
ref: ${{ github.event.inputs.branch }}
3535

36-
- name: Set up Docker Buildx
37-
uses: docker/[email protected]
38-
39-
- name: Login to GitHub Container Registry
40-
uses: docker/[email protected]
41-
with:
42-
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
43-
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
44-
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
45-
4636
- name: Docker metadata
4737
id: meta
4838
uses: docker/[email protected]
4939
with:
50-
images: ${{ secrets.DOCKER_REGISTRY_URL }}/hyperion
40+
images: ${{ secrets.DOCKER_REGISTRY_IDENTIFER }}/hyperion
5141
tags: |
5242
type=raw,value=${{ github.event.inputs.preprod_env }}
5343
type=raw,value=preprod-latest,enable={{is_default_branch}}
@@ -56,6 +46,16 @@ jobs:
5646
preprod.environment=${{ github.event.inputs.preprod_env }}
5747
preprod.branch=${{ github.event.inputs.branch }}
5848
49+
- name: Set up Docker Buildx
50+
uses: docker/[email protected]
51+
52+
- name: Login to GitHub Container Registry
53+
uses: docker/[email protected]
54+
with:
55+
registry: ${{ secrets.DOCKER_REGISTRY_URL }}
56+
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
57+
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
58+
5959
- name: Build and push preprod image
6060
uses: docker/[email protected]
6161
with:

0 commit comments

Comments
 (0)