Update .forgejo/workflows/package-check.yml
This commit is contained in:
parent
f2258f1919
commit
3a72c22737
1 changed files with 2 additions and 2 deletions
|
@ -72,12 +72,12 @@ jobs:
|
||||||
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login $DOCKER_REGISTRY -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login $DOCKER_REGISTRY -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
|
||||||
docker push $DOCKER_REGISTRY/$REGISTRY_USER/docker-$PACKAGE:latest
|
docker push $DOCKER_REGISTRY/$REGISTRY_USER/docker-$PACKAGE:latest
|
||||||
cd
|
cd
|
||||||
echo "$NEWEST_VERSION" > .last_version
|
|
||||||
echo $(( $(date +%s) / 86400 )) > .last_rebuild
|
|
||||||
|
|
||||||
- name: Commit updated metadata
|
- name: Commit updated metadata
|
||||||
if: env.UPDATE == 'true'
|
if: env.UPDATE == 'true'
|
||||||
run: |
|
run: |
|
||||||
|
echo "$NEWEST_VERSION" > .last_version
|
||||||
|
echo $(( $(date +%s) / 86400 )) > .last_rebuild
|
||||||
git config user.name "$COMMIT_AUTHOR_NAME"
|
git config user.name "$COMMIT_AUTHOR_NAME"
|
||||||
git config user.email "$COMMIT_AUTHOR_EMAIL"
|
git config user.email "$COMMIT_AUTHOR_EMAIL"
|
||||||
git add .last_version .last_rebuild
|
git add .last_version .last_rebuild
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue