Skip to content

Commit

Permalink
fix platforms in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
antmelekhin committed Dec 2, 2023
1 parent 89daf52 commit 0eb0c0c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,39 @@ jobs:
include:
- name: 'centos-7'
dockerfile: 'centos/7.Dockerfile'
platforms: linux/amd64
tags: 'antmelekhin/docker-systemd:centos-7'
- name: 'debian-10'
dockerfile: 'debian/10.Dockerfile'
platforms: linux/amd64,linux/arm64
tags: 'antmelekhin/docker-systemd:debian-10'
- name: 'debian-11'
dockerfile: 'debian/11.Dockerfile'
platforms: linux/amd64,linux/arm64
tags: 'antmelekhin/docker-systemd:debian-11'
- name: 'debian-12'
dockerfile: 'debian/12.Dockerfile'
platforms: linux/amd64,linux/arm64
tags: 'antmelekhin/docker-systemd:debian-12'
- name: 'ubuntu-20.04'
dockerfile: 'ubuntu/20.04.Dockerfile'
platforms: linux/amd64,linux/arm64
tags: 'antmelekhin/docker-systemd:ubuntu-20.04'
- name: 'ubuntu-22.04'
dockerfile: 'ubuntu/22.04.Dockerfile'
platforms: linux/amd64,linux/arm64
tags: 'antmelekhin/docker-systemd:ubuntu-22.04'
- name: 'rockylinux-8'
dockerfile: 'rockylinux/8.Dockerfile'
platforms: linux/amd64,linux/arm64
tags: 'antmelekhin/docker-systemd:rockylinux-8'
- name: 'rockylinux-9'
dockerfile: 'rockylinux/9.Dockerfile'
platforms: linux/amd64,linux/arm64
tags: 'antmelekhin/docker-systemd:rockylinux-9'
- name: 'amazonlinux-2023'
dockerfile: 'amazonlinux/2023.Dockerfile'
platforms: linux/amd64,linux/arm64
tags: 'antmelekhin/docker-systemd:amazonlinux-2023'

steps:
Expand All @@ -63,6 +72,6 @@ jobs:
with:
context: .
file: ${{ matrix.dockerfile }}
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platforms }}
push: true
tags: ${{ matrix.tags }}

0 comments on commit 0eb0c0c

Please sign in to comment.