Merge pull request #9 from SwiftFiddle/renovate/apple-swift-crypto-3.x #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger auto deployment for swiftfiddle-runner-functions-581 | |
# When this action will be executed | |
on: | |
# Automatically trigger it when detected changes in repo | |
push: | |
branches: [main] | |
paths: | |
- "**" | |
- ".github/workflows/swiftfiddle-runner-functions-581-AutoDeployTrigger-86d366a2-ea31-42f9-af4c-4d140e555be7.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.SWIFTFIDDLERUNNERFUNCTIONS581_AZURE_CREDENTIALS }} | |
- name: Build and push container image to registry | |
uses: azure/container-apps-deploy-action@v2 | |
with: | |
appSourcePath: ${{ github.workspace }} | |
registryUrl: swiftfiddle.azurecr.io | |
registryUsername: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS581_REGISTRY_USERNAME }} | |
registryPassword: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS581_REGISTRY_PASSWORD }} | |
containerAppName: swiftfiddle-runner-functions-581 | |
resourceGroup: swiftfiddle | |
imageToBuild: swiftfiddle.azurecr.io/swiftfiddle-runner-functions-581:latest |