|
53 | 53 | registry_password: ${{ secrets.GITHUB_TOKEN }} |
54 | 54 | registry_username: ${{ github.actor }} |
55 | 55 |
|
56 | | - build-and-push-latest-release-images-to-aurora-prod-registry: |
57 | | - name: Build and push latest release images to aurora prod registry |
58 | | - uses: equinor/armada/.github/workflows/build_and_publish_docker_image_to_container_registry.yml@main |
59 | | - permissions: |
60 | | - contents: read |
61 | | - packages: write |
62 | | - strategy: |
63 | | - matrix: |
64 | | - include: |
65 | | - - image_name: robotics/sara |
66 | | - path_to_dockerfile: Dockerfile |
67 | | - path_to_context: . |
68 | | - - image_name: robotics/workflow-notifier |
69 | | - path_to_dockerfile: workflow-notifier/Dockerfile |
70 | | - path_to_context: workflow-notifier |
71 | | - with: |
72 | | - registry: auroraprodacr.azurecr.io |
73 | | - image_name: ${{ matrix.image_name }} |
74 | | - tag: "${{ github.event.release.tag_name }}" |
75 | | - secondary_tag: latest |
76 | | - path_to_dockerfile: ${{ matrix.path_to_dockerfile }} |
77 | | - path_to_context: ${{ matrix.path_to_context }} |
78 | | - secrets: |
79 | | - registry_password: ${{ secrets.ROBOTICS_AURORAPRODACR_PASSWORD }} |
80 | | - registry_username: ${{ secrets.ROBOTICS_AURORAPRODACR_USERNAME }} |
81 | | - |
82 | 56 | build-and-push-latest-release-images-to-robotics-staging-registry: |
83 | 57 | name: Build and push latest release images to robotics staging registry |
84 | 58 | uses: equinor/armada/.github/workflows/build_and_publish_docker_image_to_container_registry.yml@main |
|
107 | 81 |
|
108 | 82 | deploy: |
109 | 83 | name: Update deployment in Staging |
110 | | - needs: build-and-push-latest-release-images-to-aurora-prod-registry |
| 84 | + needs: build-and-push-latest-release-images-to-robotics-staging-registry |
111 | 85 | uses: equinor/armada/.github/workflows/update_kubernetes_deployment.yml@main |
112 | 86 | permissions: |
113 | 87 | contents: read |
|
119 | 93 | - image_name: robotics/workflow-notifier |
120 | 94 | with: |
121 | 95 | environment: staging |
122 | | - registry: auroraprodacr.azurecr.io |
| 96 | + registry: roboticsstagingacr.azurecr.io |
123 | 97 | image_name: ${{ matrix.image_name }} |
124 | 98 | tag: ${{ github.event.release.tag_name }} |
125 | 99 | author_name: ${{ github.event.release.author.login }} |
|
0 commit comments