Created
September 29, 2020 11:59
-
-
Save asizikov/a8092cfaf780b5ff48549041c31134f9 to your computer and use it in GitHub Desktop.
github actions pipeline which builds he docker image and executes container structure tests against it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-application | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build and push Docker images | |
uses: docker/build-push-action@v1.1.1 | |
with: | |
push: false | |
tags: latest | |
dockerfile: Dockerfile.fixed | |
- name: Container Structure Test Action | |
uses: plexsystems/container-structure-test-action@v0.2.0 | |
with: | |
image: asizikov/asp-net-container:latest | |
config: container-structure-tests.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment