gege-jdr-backend/.gitea/workflows/publish.yaml.bak
Lucien Cartier-Tilet d9e29b62b7
All checks were successful
CI / tests (push) Successful in 17m15s
CI / tests (pull_request) Successful in 16m18s
feat: OAuth implementation with Discord
This commit separates the core features of géjdr from the backend as
these will also be used by the bot in the future.

This commit also updates the dependencies of the project. It also
removes the dependency lettre as well as the mailpit docker service
for developers as it appears clearer this project won’t send emails
anytime soon.

The publication of a docker image is also postponed until later.
2025-01-11 03:03:23 +01:00

34 lines
854 B
YAML

name: Publish Docker image
on:
push:
branches:
- 'main'
- 'develop'
tags:
- 'v*'
pull_request:
branches:
- 'main'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to Docker registry
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Build Docker image
run: nix develop --command -- just docker-build
- name: Load Docker image
run: docker load < result
- name: Docker Metadata action
uses: docker/metadata-action@v5.5.1
with:
image: tal-backend:latest