Skip to content

Commit

Permalink
fix: issues with dev building
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Nov 18, 2022
1 parent 3a4a895 commit 5b18bca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,20 @@ runs:
- name: Set up development image metadata
id: meta-dev
uses: docker/metadata-action@v4
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name != 'release' }}
with:
images: |
${{ inputs.image-name }}
flavor: |
latest=false
tags: |
type=raw,value=latest-dev,enable={{is_default_branch}}
type=ref,event=pr,suffix=-dev
type=sha,prefix=sha-,suffix=-dev
- name: Build and push development image
uses: docker/build-push-action@v3
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name != 'release' }}
with:
context: .
file: ${{ inputs.development-dockerfile }}
Expand Down

0 comments on commit 5b18bca

Please sign in to comment.