Skip to content

discord: /remind command with repeat-until-done (URW-83) #344

discord: /remind command with repeat-until-done (URW-83)

discord: /remind command with repeat-until-done (URW-83) #344

Workflow file for this run

name: Build and push images
# Builds the app and driver-ws container images and pushes them to GitHub
# Container Registry (ghcr.io/<owner>/website and .../website-driver-ws).
on:
push:
branches:
- develop
- master
- chore/reconcile-prod-drift # TEMP: remove after this branch is merged
tags:
- "v*"
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: website
context: .
dockerfile: Dockerfile
- name: website-driver-ws
context: botathon/driver-ws
dockerfile: botathon/driver-ws/Dockerfile
- name: website-discord-bot
context: discord-bot
dockerfile: discord-bot/Dockerfile
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/${{ matrix.name }}
tags: |
type=ref,event=branch
type=ref,event=tag
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ${{ matrix.context }}
file: ${{ matrix.dockerfile }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max