Bump docker/setup-buildx-action from 2.9.0 to 2.10.0 #244
Workflow file for this run
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: Docker Image CI | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
container: kali-${{github.sha}} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
# May get race conditions due to https://github.com/hadolint/hadolint-action/issues/44 | |
- name: Lint Dockerfile | |
uses: hadolint/[email protected] | |
goss: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: docker/[email protected] | |
- name: Install Goss | |
uses: e1himself/[email protected] | |
- name: Build the Docker image | |
uses: docker/[email protected] | |
with: | |
push: false | |
target: wordlists | |
tags: ${{ env.container }}:test | |
load: true | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- name: Test the image | |
run: dgoss run -t ${{ env.container }}:test |