Skip to content

Update swiftfiddle-runner-functions-542-AutoDeployTrigger-ae89a7c7-d3… #5

Update swiftfiddle-runner-functions-542-AutoDeployTrigger-ae89a7c7-d3…

Update swiftfiddle-runner-functions-542-AutoDeployTrigger-ae89a7c7-d3… #5

name: Trigger auto deployment for swiftfiddle-runner-functions-542
# When this action will be executed
on:
# Automatically trigger it when detected changes in repo
push:
branches: [main]
paths:
- "**"
- ".github/workflows/swiftfiddle-runner-functions-542-AutoDeployTrigger-ae89a7c7-d3ce-4006-84ff-80ee3db84b4b.yml"
# Allow manual trigger
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout to the branch
uses: actions/checkout@v4
- name: Azure Login
uses: azure/login@v2
with:
creds: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS542_AZURE_CREDENTIALS }}
- name: Build and push container image to registry
uses: azure/container-apps-deploy-action@v2
with:
appSourcePath: ${{ github.workspace }}
_dockerfilePathKey_: _dockerfilePath_
registryUrl: docker.io
registryUsername: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS542_REGISTRY_USERNAME }}
registryPassword: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS542_REGISTRY_PASSWORD }}
containerAppName: swiftfiddle-runner-functions-542
resourceGroup: swiftfiddle
imageToBuild: swiftfiddle/swiftfiddle-runner-functions-542:latest