Skip to content

Commit ac43218

Browse files
authored
Create docker-image.yml
1 parent 1eb16cd commit ac43218

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Docker Image build and push to docker hub
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Docker Buildx
16+
uses: docker/setup-buildx-action@v1
17+
18+
- name: Login to DockerHub
19+
uses: docker/login-action@v1
20+
with:
21+
username: ${{ secrets.DOCKER_USERNAME }}
22+
password: ${{ secrets.DOCKER_TOKEN }}
23+
24+
- name: Build and push
25+
uses: docker/build-push-action@v2
26+
with:
27+
push: true
28+
tags: nethermindeth/research-mnemonic:${{ steps.docker_meta.outputs.tags }}

0 commit comments

Comments
 (0)