mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
chatgpt version
chang
This commit is contained in:
parent
bba8006cf0
commit
d441732dec
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -18,10 +18,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Login to private registry
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: hub.docker.com/danieldim12
|
registry: docker.io
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
|
@ -31,14 +31,14 @@ jobs:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Build the app image
|
- name: Build and push the app image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v4
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
file: go-ethereum/Dockerfile1
|
file: go-ethereum/Dockerfile1
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: hub.docker.com/danieldim12/my-image:latest
|
tags: danieldim12/my-image:latest
|
||||||
secrets: |
|
secrets: |
|
||||||
"secret_1=${{ secrets.MY_SECRET_1 }}"
|
"secret_1=${{ secrets.MY_SECRET_1 }}"
|
||||||
"secret_2=${{ secrets.MY_SECRET_2 }}"
|
"secret_2=${{ secrets.MY_SECRET_2 }}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue