Skip to content

Commit 79d6aa3

Browse files
committed
ci: Add docker build in main github flow
1 parent a62c99a commit 79d6aa3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,13 @@ jobs:
2222
- run: npm run test
2323
env:
2424
CI: true
25+
26+
docker:
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- uses: actions/checkout@v2
31+
with:
32+
fetch-depth: 1
33+
- name: Build docker image
34+
run: docker build -t relekang/graphql-rss-parser:${{ github.sha }}

.github/workflows/upload-docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
fetch-depth: 1
1616
- name: Build docker image
17-
run: docker build -t relekang/graphql-rss-parser:${GITHUB_REF##*/} .
17+
run: docker build -t relekang/graphql-rss-parser:${GITHUB_REF##*/}
1818
- name: Tag latest image
1919
run: docker tag relekang/graphql-rss-parser:${GITHUB_REF##*/} relekang/graphql-rss-parser:latest
2020
- name: Login to DockerHub Registry

0 commit comments

Comments
 (0)