Fix up the workflow
This commit is contained in:
parent
aaffc740bc
commit
7ddfeb93dd
1 changed files with 6 additions and 11 deletions
|
@ -1,14 +1,7 @@
|
|||
name: Build and push Docker image
|
||||
name: "Release (copycat-db)"
|
||||
|
||||
on:
|
||||
# Enable manual run
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- release
|
||||
# Sequence of patterns matched against refs/tags
|
||||
tags:
|
||||
- "v*" # Push events to matching v*, i.e. v4.2.0
|
||||
workflow_dispatch: # Run manually
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -20,10 +13,12 @@ jobs:
|
|||
- uses: mr-smithers-excellent/docker-build-push@v6
|
||||
name: Build & Push
|
||||
with:
|
||||
dockerfile: infra/copycat-db/Dockerfile
|
||||
directory: infra/copycat-db
|
||||
image: ente/copycat-db
|
||||
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 }}
|
||||
env:
|
||||
GIT_COMMIT: ${GITHUB_SHA}
|
Loading…
Add table
Reference in a new issue