Don't try to build the Docker image everytime something is pushed on master

This commit is contained in:
Nicola Belluti
2025-01-30 11:01:17 +01:00
parent f67af8efd7
commit 0891dc0eda

View File

@@ -1,9 +1,7 @@
name: update docker image name: update docker image
on: on:
push: workflow_dispatch:
branches:
- "master"
jobs: jobs:
build: build:
@@ -23,4 +21,4 @@ jobs:
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
with: with:
push: true push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/rdgen:latest tags: ${{ vars.DOCKERHUB_USERNAME }}/rdgen:latest