includes images in releases

This commit is contained in:
Mylloon 2024-08-13 13:00:09 +02:00
parent 2d9fc0d559
commit 8549eedd37
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -8,9 +8,21 @@ jobs:
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Checkout
- name: Checkout Code
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
uses: docker/setup-buildx-action@v3
@ -24,6 +36,7 @@ jobs:
- name: Login to Registry
uses: docker/login-action@v3
with:
context: .
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}