Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MuelNova authored Nov 3, 2024
1 parent cd24c79 commit a5f967a
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,24 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
version:
- "24.04"
- "22.04"
- "20.04"
- "18.04"
- "16.04"
file:
- "Dockerfile"
- "Dockerfile"
- "Dockerfile"
- "Dockerfile.ubuntu1804"
- "Dockerfile.ubuntu1604"
max-parallel: 5

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)



- name: Build Ubuntu ${{ matrix.version }}
run: docker build . --file ${{ matrix.file }} --build-arg IMAGE=ubuntu:${{ matrix.version }} --tag nopwnv2:${{ matrix.version }}-$(date +%s)

0 comments on commit a5f967a

Please sign in to comment.