Skip to content

Instantly share code, notes, and snippets.

@asizikov
Created September 29, 2020 11:59
Show Gist options
  • Save asizikov/a8092cfaf780b5ff48549041c31134f9 to your computer and use it in GitHub Desktop.
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.
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