Update .gitea/workflows/actions.yaml
This commit is contained in:
@@ -13,10 +13,10 @@ jobs:
|
|||||||
- name: Pull upstream metadata
|
- name: Pull upstream metadata
|
||||||
id: tag
|
id: tag
|
||||||
run: |
|
run: |
|
||||||
curl -IL https://downloads.filestash.app/upload/enterprise.tar.gz |
|
echo "version=$(curl -IsL https://downloads.filestash.app/upload/enterprise.tar.gz |
|
||||||
grep -i "last-modified" |
|
grep -i "last-modified" |
|
||||||
cut -d' ' -f2- |
|
cut -d' ' -f2- |
|
||||||
date -f - +%Y%m%d >> $GITHUB_OUTPUT
|
date -f - +%Y%m%d)" >> $GITHUB_OUTPUT
|
||||||
- name: Assert tag output
|
- name: Assert tag output
|
||||||
run: |
|
run: |
|
||||||
[[ -z "${{ steps.tag.outputs.version }}" ]] && {
|
[[ -z "${{ steps.tag.outputs.version }}" ]] && {
|
||||||
@@ -31,6 +31,7 @@ jobs:
|
|||||||
build_container:
|
build_container:
|
||||||
name: Container image
|
name: Container image
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: parse_tag
|
||||||
env:
|
env:
|
||||||
DOCKER_HOST: unix:///var/run/docker.sock
|
DOCKER_HOST: unix:///var/run/docker.sock
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user