Skip to content

Commit 7beccbf

Browse files
committed
📓 Add basic image build and test workflow
1 parent 7bf1da5 commit 7beccbf

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build image
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
tags-ignore:
8+
- '*'
9+
pull_request:
10+
11+
jobs:
12+
build-test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@master
16+
- name: Build base perl image
17+
run: |
18+
docker version
19+
docker build -t binary-com/perl
20+
- name: Inspect image creation and tag time
21+
run: |
22+
docker image inspect --format \'{{.Created}}\' binary-com/perl
23+
docker image inspect --format \'{{.Metadata.LastTagTime}}\' binary-com/perl

0 commit comments

Comments
 (0)