Skip to content

Commit

Permalink
Minor fix for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
emilpriver committed Apr 24, 2024
1 parent fc10ff9 commit e3bc168
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ jobs:
include:
- dockerfile: Dockerfile
name:
buildname: Default
- dockerfile: Dockerfile.slim
name: -slim
buildname: Slim
name: Build (${{ matrix.buildname }}
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
Expand All @@ -45,7 +48,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
if: startsWith(github.ref, 'refs/tags/') == false
run: docker build -t geni -f ${{matric.dockerfile}} .
run: docker build -t geni -f ${{matrix.dockerfile}} .
- name: Build Tag
if: startsWith(github.ref, 'refs/tags/')
run: docker build -t ghcr.io/${{ github.repository }}:${{ github.ref_name }}${{matrix.name}} .
Expand Down

0 comments on commit e3bc168

Please sign in to comment.