Skip to content

Commit

Permalink
excludes wouldn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertDeFusco committed Jan 20, 2022
1 parent c2de0c9 commit ab89576
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ jobs:
fail-fast: false
matrix:
base: [ubi7, ubi8, alpine]
platform: [linux/amd64, "linux/amd64,linux/arm64"]
exclude:
- base: ubi7
platform: "linux/amd64,linux/arm64"
steps:
- name: Check out the repo
uses: actions/checkout@v2
Expand All @@ -31,4 +27,11 @@ jobs:
run: |
docker login --username ${{ secrets.DOCKER_USERNAME }} --password ${{ secrets.DOCKER_PASSWORD }}
GIT_TAG=`git describe --tags --abbrev=0`
make ${{ matrix.base }} PLATFORM=${{ matrix.platform }} TAG=latest,$GIT_TAG
if [ ${{ matrix.base }} == ubi7 ]; then
PLATFORM=linux/amd64
else
PLATFORM=linux/amd64,linux/arm64
fi
make ${{ matrix.base }} PLATFORM=$PLATFORM TAG=latest,$GIT_TAG

0 comments on commit ab89576

Please sign in to comment.