Skip to content

chore: add favicon

chore: add favicon #6

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-push:
name: Build and push Docker image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
ghcr.io/tietokilta/running-challenge:latest
ghcr.io/tietokilta/running-challenge:sha-${{ github.sha }}
deploy:
name: Deploy to Azure
runs-on: ubuntu-latest
needs: build-and-push
permissions:
id-token: write
steps:
- name: Login via Azure CLI
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- uses: azure/webapps-deploy@v3
with:
app-name: tik-running-challenge
images: ghcr.io/tietokilta/running-challenge:sha-${{ github.sha }}