@@ -7,7 +7,6 @@ concurrency:
77permissions :
88 contents : read
99 pull-requests : read
10- packages : write
1110
1211on :
1312 release :
@@ -26,51 +25,10 @@ jobs:
2625 working_directory : backend/api
2726 azure_subscription_id : ${{ vars.AZURE_SUBSCRIPTION_ID }}
2827
29- build-and-push-flotilla-components-with-latest-tag-to-github-container-registry :
30- name : Build and push flotilla components with latest tag to github container registry
31- permissions :
32- contents : read
33- packages : write
34- strategy :
35- matrix :
36- component : [broker, backend, frontend]
37- uses : equinor/armada/.github/workflows/build_and_publish_docker_image_to_container_registry.yml@main
38- with :
39- registry : ghcr.io
40- image_name : ${{ github.repository }}-${{ matrix.component }}
41- tag : ${{ github.event.release.tag_name }}
42- secondary_tag : latest
43- path_to_dockerfile : ${{ matrix.component}}/Dockerfile
44- path_to_context : ./${{ matrix.component}}
45- secrets :
46- registry_password : ${{ secrets.GITHUB_TOKEN }}
47- registry_username : ${{ github.actor }}
48-
49- build-and-push-latest-release-flotilla-component-to-aurora-prod-container-registry :
50- name : Build and push latest release flotilla components to aurora prod container registry
51- permissions :
52- contents : read
53- packages : write
54- strategy :
55- matrix :
56- component : [broker, backend, frontend]
57- uses : equinor/armada/.github/workflows/build_and_publish_docker_image_to_container_registry.yml@main
58- with :
59- registry : auroraprodacr.azurecr.io
60- image_name : robotics/flotilla-${{ matrix.component }}
61- tag : ${{ github.event.release.tag_name }}
62- secondary_tag : latest
63- path_to_dockerfile : ${{ matrix.component}}/Dockerfile
64- path_to_context : ./${{ matrix.component}}
65- secrets :
66- registry_password : ${{ secrets.AURORA_CONTAINER_REGISTRY_PROD_PASSWORD }}
67- registry_username : ${{ secrets.AURORA_CONTAINER_REGISTRY_PROD_USERNAME }}
68-
6928 build-and-push-latest-release-flotilla-component-to-robotics-staging-container-registry :
7029 name : Build and push latest release flotilla components to robotics staging container registry
7130 permissions :
7231 contents : read
73- packages : write
7432 strategy :
7533 matrix :
7634 component : [broker, backend, frontend]
@@ -90,15 +48,15 @@ jobs:
9048 name : Update deployment in Staging
9149 permissions :
9250 contents : read
93- needs : build-and-push-latest-release-flotilla-component-to-aurora-prod -container-registry
51+ needs : build-and-push-latest-release-flotilla-component-to-robotics-staging -container-registry
9452 strategy :
9553 max-parallel : 1
9654 matrix :
9755 component : [frontend, backend, broker]
9856 uses : equinor/armada/.github/workflows/update_kubernetes_deployment.yml@main
9957 with :
10058 environment : staging
101- registry : auroraprodacr .azurecr.io
59+ registry : roboticsstagingacr .azurecr.io
10260 image_name : robotics/flotilla-${{ matrix.component }}
10361 tag : ${{ github.event.release.tag_name }}
10462 author_name : ${{ github.event.release.author.login }}
0 commit comments