buildx
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 32s
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 32s
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:
@ -70,9 +70,21 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
-t $IMAGE_NAME:latest \
|
-t $GITEA_REGISTRY_URL/$IMAGE_NAME:latest \
|
||||||
-t $GITEA_REGISTRY_URL/$OWNER/$IMAGE_NAME:latest \
|
|
||||||
#-t ${{ secrets.GITEA_REGISTRY_URL }}/$OWNER/$IMAGE_NAME:latest \
|
#-t ${{ secrets.GITEA_REGISTRY_URL }}/$OWNER/$IMAGE_NAME:latest \
|
||||||
#--push \
|
#--push \
|
||||||
.
|
.
|
||||||
|
|
||||||
|
- name: Push Docker image to Gitea Registry
|
||||||
|
env:
|
||||||
|
GITEA_REGISTRY_URL: 'git.bepastem.com'
|
||||||
|
#GITEA_REGISTRY_URL: ${{ secrets.GITEA_REGISTRY_URL }}
|
||||||
|
IMAGE_NAME: my-app2
|
||||||
|
#IMAGE_NAME: ${{ vars.IMAGE_NAME }}
|
||||||
|
OWNER: ${{ gitea.actor }}
|
||||||
|
run: |
|
||||||
|
docker login $GITEA_REGISTRY_URL -u ${{ gitea.actor }} -p ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
docker push $GITEA_REGISTRY_URL/$OWNER/$IMAGE_NAME:latest
|
||||||
|
#docker push ${{ secrets.GITEA_REGISTRY_URL }}/$OWNER/$IMAGE_NAME:latest
|
||||||
|
pwd
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user