Update ci
Some checks failed
CI / build-test (push) Failing after 1m57s

This commit is contained in:
Brock H Caldwell
2026-03-09 11:41:59 -05:00
parent ee017d7ae6
commit a2da2698e3

View File

@@ -29,16 +29,34 @@ jobs:
- name: Compile assets
run: APP_ENV=build php bin/console asset-map:compile
#
# - name: Create artifact
# run: |
# file="${{ gitea.REF_NAME }}.tar.gz"
# touch $file
# tar -czf $file --exclude=$file .
- name: Upload artifact
uses: actions/upload-artifact@v3
- name: Create docker image
run: |
version="${{ gitea.REF_NAME }}"
docker build -f docker/Dockerfile.app \
-t code.caldwell.digital/home/torsearch-app:${version} \
-t code.caldwell.digital/home/torsearch-app:latest \
--build-arg "APP_VERSION=${version}" \
--build-arg "TMDB_API=${TMDB_API}" \
.
docker push code.caldwell.digital/home/torsearch-app:${version}
docker push code.caldwell.digital/home/torsearch-app:latest
- name: Create artifact
run: |
file="torsearch-${{ gitea.REF_NAME }}.tar.gz"
touch $file
tar -czf $file --exclude=$file .
- name: Create release
uses: akkuman/gitea-release-action@v1
with:
name: "${{ gitea.REF_NAME }}"
path: "*"
compression_level: 9
files: |-
"torsearch-${{ gitea.REF_NAME }}.tar.gz"
# - name: Upload artifact
# uses: actions/upload-artifact@v3
# with:
# name: "torsearch-${{ gitea.REF_NAME }}.tar.gz"
# path: "torsearch-${{ gitea.REF_NAME }}.tar.gz"
# compression_level: 9