Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/development.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
# Step 3: Build the Docker image
- name: Build Docker image
run: |
docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:latest -f ./Dockerfile .
docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:dev -f ./Dockerfile .
# Step 4: Push Docker image to Docker Hub
- name: Push Docker image to Docker Hub
run: |
docker push ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:develop
docker push ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:dev
# Step 5: Trigger Azure Release Pipeline
- name: Trigger Azure DevOps Pipeline
uses: Azure/pipelines@v1.2
Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ steps:
echo "Determining Azure subscription..."
if [ "$(Build.SourceBranchName)" = "development" ]; then
echo "##vso[task.setvariable variable=AZURE_SUBSCRIPTION]Dev-Gateway-Resources-MS"
echo "##vso[task.setvariable variable=DOCKER_IMAGE]attonbomb/systemadmin:develop"
echo "##vso[task.setvariable variable=DOCKER_IMAGE]attonbomb/systemadmin:dev"
else
echo "##vso[task.setvariable variable=AZURE_SUBSCRIPTION]Gateway-Resources-IAC-MI-Conn-2"
fi
Expand All @@ -39,7 +39,7 @@ steps:
az containerapp update \
--name gateway-global-integration-ui-iac
--resource-group Gateway-IAC-Resources
--image attonbomb/systemadmin:latest
--image $(DOCKER_IMAGE)
--registry-server hub.docker.com

echo "Global Integration API Container App updated successfully"
Expand Down
Loading