ente/.github/workflows/copycat-db-release.yaml

25 lines
778 B
YAML
Raw Normal View History

2024-03-14 12:02:54 +00:00
name: "Release (copycat-db)"
2024-03-14 11:45:37 +00:00
on:
2024-03-14 12:02:54 +00:00
workflow_dispatch: # Run manually
2024-03-14 11:45:37 +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-14 12:02:54 +00:00
dockerfile: infra/copycat-db/Dockerfile
directory: infra/copycat-db
2024-03-14 11:45:37 +00:00
image: ente/copycat-db
registry: rg.fr-par.scw.cloud
2024-03-14 12:02:54 +00:00
enableBuildKit: true
buildArgs: GIT_COMMIT=${GITHUB_SHA}
2024-03-14 11:45:37 +00:00
tags: ${GITHUB_SHA}, latest
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}