includes images in releases
This commit is contained in:
parent
2d9fc0d559
commit
999d68ab60
1 changed files with 14 additions and 1 deletions
|
@ -8,9 +8,21 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Checkout LFS
|
||||||
|
run: |
|
||||||
|
# Replace double auth header, see https://github.com/actions/checkout/issues/1830
|
||||||
|
UrlLfsBase=${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects
|
||||||
|
Auth=`git config --get --local http.${{ github.server_url }}/.extraheader`
|
||||||
|
git config --local http.${UrlLfsBase}/batch.extraheader "$Auth"
|
||||||
|
git config --local http.${UrlLfsBase}/.extraheader ""
|
||||||
|
|
||||||
|
# Get files
|
||||||
|
git lfs fetch
|
||||||
|
git lfs checkout
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
@ -31,5 +43,6 @@ jobs:
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
|
context: .
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|
Loading…
Reference in a new issue