ci: only deploy on release branch
All checks were successful
/ build-and-push-image (push) Successful in 40s

This commit is contained in:
log101 2024-06-13 17:00:35 +03:00
parent 1f76bb7f1a
commit 6ff5e3a696

View File

@ -2,7 +2,10 @@
run-name: Create and publish a Docker image run-name: Create and publish a Docker image
# Configures this workflow to run every time a change is pushed to the branch called `release`. # Configures this workflow to run every time a change is pushed to the branch called `release`.
on: [push] on:
push:
branches:
- "release"
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env: env: