Skip to content

Commit 4ee43e2

Browse files
WIP
1 parent 009241f commit 4ee43e2

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
name: Test Make targets
2-
on: [push]
2+
name: Docker Image CI
3+
4+
on:
5+
push:
6+
pull_request:
7+
branches: [ "main" ]
8+
39
jobs:
4-
linux:
10+
build:
511
runs-on: ubuntu-latest
12+
613
steps:
7-
- name: Checkout
8-
uses: actions/checkout@v3
9-
10-
- name: Build Docker image
11-
uses: '.github/actions/docker-image-build.yml'
12-
id: image
13-
with:
14-
VARIANT: "ubuntu-20.04"
15-
GOMPLATE_VERSION: "3.11.3"
16-
TERRAFORM_DOCS_VERSION: "0.16.0"
17-
TFLINT_AWS_RULESET_VERSION: "0.17.1"
18-
TFSEC_VERSION: "1.28.0"
19-
TERRASCAN_VERSION: "1.15.2"
14+
- uses: actions/checkout@v3
15+
- name: Build the Docker image
16+
run: docker build . --file .devcontainer/Dockerfile --tag aws-terraform-dev-container:$(date +%s)
2017

2118
# - name: Display AWS CLI version
2219
# run: make aws/cli-version

0 commit comments

Comments
 (0)