ente/.github/workflows/server-release.yml

25 lines
755 B
YAML
Raw Normal View History

2024-03-05 11:09:11 +00:00
name: "Release (server)"
2024-03-01 08:07:01 +00:00
on:
2024-03-05 11:09:11 +00:00
workflow_dispatch: # Run manually
2024-03-01 08:07:01 +00:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & Push
with:
2024-03-05 11:15:42 +00:00
dockerfile: server/Dockerfile
directory: server
2024-03-01 08:07:01 +00:00
image: ente/museum-prod
registry: rg.fr-par.scw.cloud
enableBuildKit: true
buildArgs: GIT_COMMIT=${GITHUB_SHA}
tags: ${GITHUB_SHA}, latest
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}