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