Skip to content

Commit

Permalink
Removed unused build-args from the metadata action
Browse files Browse the repository at this point in the history
  • Loading branch information
4TT1L4 committed Jul 23, 2024
1 parent 53e5906 commit de276f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-haskell-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,10 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }}
build-args: |
GHC=${{ inputs.ghc-version }}
tags: |
# latest tag for the default branch:
type=raw,value=${{ inputs.ghc-version }},enable={{is_default_branch}}
- name: ${{ github.ref == 'refs/heads/main' && 'Build and Push Docker image' || 'Build Docker image' }}
- name: ${{ github.ref == 'refs/heads/main' && 'Build and Push Docker image' || 'Build Docker image' }} (GHC v${{ inputs.ghc-version }})
uses: docker/build-push-action@v5
with:
push: ${{ github.ref == 'refs/heads/main'}}
Expand Down

0 comments on commit de276f3

Please sign in to comment.