Skip to content

feat: update upstream version to 1.19.3 (#9) #19

feat: update upstream version to 1.19.3 (#9)

feat: update upstream version to 1.19.3 (#9) #19

Workflow file for this run

name: "CI"
on:
push:
branches:
- master
pull_request:
release:
types: [published]
env:
TEST_IMAGE_TAG: structure-tests-action:test
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint Dockerfile
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: Dockerfile
build:
name: Build and Test
runs-on: ubuntu-latest
needs: [lint]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v5
with:
context: .
load: true
tags: ${{ env.TEST_IMAGE_TAG }}
- name: Install container-structure-test
run: |
curl -LO https://github.com/GoogleContainerTools/container-structure-test/releases/download/v1.17.0/container-structure-test-linux-amd64 \
&& chmod +x container-structure-test-linux-amd64 \
&& mv container-structure-test-linux-amd64 /usr/local/bin/container-structure-test \
&& container-structure-test version
- name: Run tests
run: |
container-structure-test test \
--image ${{ env.TEST_IMAGE_TAG }} \
--config structure-tests.yaml