mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
rename of github actions yml definition and set docker push to registry to false for manual workflows
This commit is contained in:
parent
a3c861a507
commit
00588ffae7
1 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Reference in a new issue