Skip to content

Commit

Permalink
Fix CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
drunkbatya committed May 31, 2024
1 parent 432bf93 commit b548284
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Deploy'
name: 'Build'

on:
push:
Expand Down Expand Up @@ -47,17 +47,15 @@ jobs:
- name: 'Build'
uses: docker/build-push-action@v5
with:
context: .
push: false
load: true
tags: ${{steps.tag.outputs.image_name}}:${{steps.tag.outputs.image_tag}}
cache-from: type=registry,ref=${{ steps.tag.outputs.image_name }}:buildcache
cache-to: type=registry,ref=${{ steps.tag.outputs.image_name }}:buildcache,mode=max

- name: 'Push'
if: ${{ github.event_name != 'pull_request' }}
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{steps.tag.outputs.image_name}}:${{steps.tag.outputs.image_tag}}
cache-from: type=registry,ref=${{ steps.tag.outputs.image_name }}:buildcache
Expand Down

0 comments on commit b548284

Please sign in to comment.