Skip to content

Create docker-image.yml #1

Create docker-image.yml

Create docker-image.yml #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build 24.04
run: docker build . --file Dockerfile --build-arg IMAGE=ubuntu:24.04 --tag NoPwnV2:2404-$(date +%s)
- name: Build 22.04
run: docker build . --file Dockerfile --build-arg IMAGE=ubuntu:22.04 --tag NoPwnV2:2204-$(date +%s)
- name: Build 20.04
run: docker build . --file Dockerfile --build-arg IMAGE=ubuntu:20.04 --tag NoPwnV2:2004-$(date +%s)
- name: Build 18.04
run: docker build . --file Dockerfile.ubuntu1804 --tag NoPwnV2:1804-$(date +%s)
- name: Build 16.04
run: docker build . --file Dockerfile.ubuntu1604 --tag NoPwnV2:1604-$(date +%s)