push to registry
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Has been skipped
checks / Set up Java for Backend Tests and Build (push) Has been skipped
Gitea Actions Demo / Explore Gitea Actions - 2 (pull_request) Has been skipped
Gitea Actions Demo 2 / Builder (pull_request) Failing after 2m8s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Has been skipped
checks / Set up Java for Backend Tests and Build (pull_request) Has been skipped
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Has been skipped
checks / Set up Java for Backend Tests and Build (push) Has been skipped
Gitea Actions Demo / Explore Gitea Actions - 2 (pull_request) Has been skipped
Gitea Actions Demo 2 / Builder (pull_request) Failing after 2m8s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Has been skipped
checks / Set up Java for Backend Tests and Build (pull_request) Has been skipped
This commit is contained in:
@ -82,17 +82,18 @@ jobs:
|
||||
|
||||
- name: Push Docker image to Gitea Registry
|
||||
env:
|
||||
#GITEA_REGISTRY_URL: 'git.bepastem.com'
|
||||
#GITEA_REGISTRY_URL: 'https://git.bepastem.com'
|
||||
#GITEA_REGISTRY_URL: ${{ secrets.GITEA_REGISTRY_URL }}
|
||||
#IMAGE_NAME: ${{ vars.IMAGE_NAME }}
|
||||
GITEA_USERNAME: ${{ gitea.actor }}
|
||||
GITEA_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
IMAGE_NAME: ${{ vars.GITEA_REGISTRY_URL }}/GITEA_USERNAME/my-app2:latest
|
||||
GITEA_REGISTRY_URL: ${{ vars.GITEA_REGISTRY_URL }}
|
||||
#IMAGE_NAME: ${{ vars.GITEA_REGISTRY_URL }}/GITEA_USERNAME/my-app2:latest
|
||||
#GITEA_REGISTRY_URL: ${{ secrets.GITEA_REGISTRY_URL }}
|
||||
run: |
|
||||
echo "GITEA_REGISTRY_URL: $GITEA_REGISTRY_URL"
|
||||
docker login $GITEA_REGISTRY_URL -u $GITEA_USERNAME -p $GITEA_TOKEN
|
||||
docker push $GITEA_REGISTRY_URL/$GITEA_USERNAME/$IMAGE_NAME
|
||||
#docker push $GITEA_REGISTRY_URL/GITEA_USERNAME/$IMAGE_NAME
|
||||
docker push $GITEA_REGISTRY_URL/$GITEA_REGISTRY_URL/$GITEA_USERNAME/my-app2:latest
|
||||
#docker push $GITEA_REGISTRY_URL/$GITEA_USERNAME/$IMAGE_NAME
|
||||
pwd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user