|
1 | | -name: Publish Preprod |
| 1 | +name: Build and Publish Preprod |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | workflow_dispatch: |
@@ -33,21 +33,11 @@ jobs: |
33 | 33 | with: |
34 | 34 | ref: ${{ github.event.inputs.branch }} |
35 | 35 |
|
36 | | - - name: Set up Docker Buildx |
37 | | - |
38 | | - |
39 | | - - name: Login to GitHub Container Registry |
40 | | - |
41 | | - with: |
42 | | - registry: ${{ secrets.DOCKER_REGISTRY_URL }} |
43 | | - username: ${{ secrets.DOCKER_REGISTRY_USERNAME }} |
44 | | - password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} |
45 | | - |
46 | 36 | - name: Docker metadata |
47 | 37 | id: meta |
48 | 38 | |
49 | 39 | with: |
50 | | - images: ${{ secrets.DOCKER_REGISTRY_URL }}/hyperion |
| 40 | + images: ${{ secrets.DOCKER_REGISTRY_IDENTIFER }}/hyperion |
51 | 41 | tags: | |
52 | 42 | type=raw,value=${{ github.event.inputs.preprod_env }} |
53 | 43 | type=raw,value=preprod-latest,enable={{is_default_branch}} |
|
56 | 46 | preprod.environment=${{ github.event.inputs.preprod_env }} |
57 | 47 | preprod.branch=${{ github.event.inputs.branch }} |
58 | 48 |
|
| 49 | + - name: Set up Docker Buildx |
| 50 | + |
| 51 | + |
| 52 | + - name: Login to GitHub Container Registry |
| 53 | + |
| 54 | + with: |
| 55 | + registry: ${{ secrets.DOCKER_REGISTRY_URL }} |
| 56 | + username: ${{ secrets.DOCKER_REGISTRY_USERNAME }} |
| 57 | + password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} |
| 58 | + |
59 | 59 | - name: Build and push preprod image |
60 | 60 | |
61 | 61 | with: |
|
0 commit comments