Skip to content

Commit

Permalink
Added docker image flavors
Browse files Browse the repository at this point in the history
  • Loading branch information
hnaderi committed Apr 10, 2024
1 parent 63584c3 commit 4a1dcb4
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
base: ["", "-alpine", "-slim"]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -30,5 +34,7 @@ jobs:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ steps.get_version.outputs.VERSION }}
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ steps.get_version.outputs.VERSION }}${{ matrix.base }}
ghcr.io/${{ github.repository }}:latest${{ matrix.base }}
args: |
IMAGE=${{ matrix.python-version }}${{ matrix.base }}

0 comments on commit 4a1dcb4

Please sign in to comment.