Skip to content

Commit

Permalink
gha
Browse files Browse the repository at this point in the history
  • Loading branch information
magdyksaleh committed Nov 22, 2023
1 parent 2e128db commit 01a69fc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 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 Down Expand Up @@ -34,6 +35,17 @@ jobs:
- 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
with:
images: |
ghcr.io/predibase/lorax
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha,prefix=,suffix=,format=short
- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
Expand Down

0 comments on commit 01a69fc

Please sign in to comment.