rename of github actions yml definition and set docker push to registry to false for manual workflows

This commit is contained in:
Stilian Boyadzhiev 2025-05-29 20:30:08 +03:00
parent a3c861a507
commit 00588ffae7

View file

@ -21,6 +21,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# Log in to Docker Hub store secrets in repo → Settings → Secrets and variables → Actions
# - name: Log in to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# Build (and optionally push) the image
- name: Build and push image
uses: docker/build-push-action@v5
@ -29,7 +36,8 @@ jobs:
file: ./Dockerfile # Path to the Dockerfile if not root
platforms: linux/amd64 # Add ,linux/arm64 if you need multi-arch
push: true # Change to false to keep image local to runner
tags: go-etherium-satan:latest
tags: go-etherium-satan:latest
ci-build-manual:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
@ -49,5 +57,5 @@ jobs:
context: .
file: ./Dockerfile # Path to the Dockerfile if not root
platforms: linux/amd64 # Add ,linux/arm64 if you need multi-arch
push: true # Change to false to keep image local to runner
push: false # Change to false to keep image local to runner
tags: go-etherium-satan:latest