Update .forgejo/workflows/package-check.yml
This commit is contained in:
parent
ac646985ad
commit
cd4f58e6d2
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ jobs:
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
if: env.UPDATE == 'true'
|
if: env.UPDATE == 'true'
|
||||||
run: |
|
run: |
|
||||||
# git clone $GIT_REPO_URL ../$PACKAGE
|
git clone $GIT_REPO_URL ../$PACKAGE-build
|
||||||
cd ../$PACKAGE
|
cd ../$PACKAGE-build
|
||||||
git fetch --all --tags
|
git fetch --all --tags
|
||||||
git checkout tags/$NEWEST_VERSION
|
git checkout tags/$NEWEST_VERSION
|
||||||
docker build --build-arg NPROC=1 -t $DOCKER_REGISTRY/$REGISTRY_USER/docker-$PACKAGE:latest -t $DOCKER_REGISTRY/$REGISTRY_USER/docker-$PACKAGE:$NEWEST_VERSION .
|
docker build --build-arg NPROC=1 -t $DOCKER_REGISTRY/$REGISTRY_USER/docker-$PACKAGE:latest -t $DOCKER_REGISTRY/$REGISTRY_USER/docker-$PACKAGE:$NEWEST_VERSION .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue