mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update docker-image.yml
This commit is contained in:
parent
18fee4ee1f
commit
e65e85835b
1 changed files with 11 additions and 0 deletions
11
.github/workflows/docker-image.yml
vendored
11
.github/workflows/docker-image.yml
vendored
|
|
@ -16,3 +16,14 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: docker build . --file Dockerfile --tag test:$(date +%s)
|
run: docker build . --file Dockerfile --tag test:$(date +%s)
|
||||||
|
|
||||||
|
- name: Login to Docker Hub
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: test:$(date +%s)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue