diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index 4aabef7..0f30514 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -13,10 +13,10 @@ jobs: - name: Pull upstream metadata id: tag 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" | cut -d' ' -f2- | - date -f - +%Y%m%d >> $GITHUB_OUTPUT + date -f - +%Y%m%d)" >> $GITHUB_OUTPUT - name: Assert tag output run: | [[ -z "${{ steps.tag.outputs.version }}" ]] && { @@ -31,6 +31,7 @@ jobs: build_container: name: Container image runs-on: ubuntu-latest + needs: parse_tag env: DOCKER_HOST: unix:///var/run/docker.sock steps: