Skip to content

Commit 25f07f1

Browse files
authored
Merge pull request #164 from macbre/docker-build-action
GitHub action: check if a Docker image can be built
2 parents a5b0fba + fe0e3df commit 25f07f1

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/dockerimage.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Check if a Docker image can be built
2+
3+
on: [push]
4+
5+
jobs:
6+
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Build the Docker image
14+
run: docker build . --tag macbre/index-digest:$(date +%s)

0 commit comments

Comments
 (0)