Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magdyksaleh committed Nov 22, 2023
1 parent 0082943 commit 3f0f41f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- 'main'
- 'update-gha'
tags:
- 'v*'
pull_request:
Expand All @@ -31,10 +32,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set output
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
Expand All @@ -59,6 +56,5 @@ jobs:
context: .
file: ./Dockerfile # Path to your Dockerfile
push: true
tags: |
ghcr.io/predibase/lorax:${{ steps.vars.outputs.sha_short }}
ghcr.io/predibase/lorax:latest
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 3f0f41f

Please sign in to comment.