Skip to content

Merge pull request #1 from SwiftFiddle/renovate/apple-swift-numerics-1.x #2

Merge pull request #1 from SwiftFiddle/renovate/apple-swift-numerics-1.x

Merge pull request #1 from SwiftFiddle/renovate/apple-swift-numerics-1.x #2

name: Trigger auto deployment for swiftfiddle-runner-functions-603
# When this action will be executed
on:
# Automatically trigger it when detected changes in repo
push:
branches:
[ main ]
paths:
- '**'
- '.github/workflows/swiftfiddle-runner-functions-603-AutoDeployTrigger-197eaa39-f796-4928-82b2-63eaf4921b54.yml'
# Allow manual trigger
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout to the branch
uses: actions/checkout@v2
- name: Azure Login
uses: azure/login@v1
with:
creds: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS603_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.SWIFTFIDDLERUNNERFUNCTIONS603_REGISTRY_USERNAME }}
registryPassword: ${{ secrets.SWIFTFIDDLERUNNERFUNCTIONS603_REGISTRY_PASSWORD }}
containerAppName: swiftfiddle-runner-functions-603
resourceGroup: swiftfiddle
imageToBuild: kishikawakatsumi/swiftfiddle-runner-functions-603:${{ github.sha }}