Skip to content

Commit c458410

Browse files
committed
fix: test docker build
1 parent de61767 commit c458410

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/docker.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Docker Build Push
2+
3+
on:
4+
push:
5+
branches: [ dev ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Login to DockerHub
13+
uses: docker/login-action@v1
14+
with:
15+
username: frankpagan
16+
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
17+
- name: docker build
18+
id: docker_build
19+
run: docker build . -t frankpagan/cocreate-docs:latest
20+
- name: docker push
21+
id: docker_push
22+
run: |
23+
docker push frankpagan/cocreate-docs:latest
24+
# - name: Image digest
25+
# run: echo ${{ steps.docker_push.outputs.digest }}

0 commit comments

Comments
 (0)