Skip to content

Bump flask from 3.0.1 to 3.0.3 #36

Bump flask from 3.0.1 to 3.0.3

Bump flask from 3.0.1 to 3.0.3 #36

Workflow file for this run

name: Publish Docker image to GitHub Packages
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
env_var: ${{ vars.ENV_CONTEXT_VAR }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dockerfile:
- name: "en"
path: "Dockerfile.en"
- name: "ctt"
path: "Dockerfile.ctt"
permissions:
contents: write
packages: write
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
file: ${{ matrix.dockerfile.path }}
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/citytriathlon/simple-calendar:${{ github.run_number }}-${{ matrix.dockerfile.name }}
ghcr.io/citytriathlon/simple-calendar:latest-${{ matrix.dockerfile.name }}