fix 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 2m17s
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 2m17s
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:
@ -65,17 +65,20 @@ jobs:
|
||||
env:
|
||||
GITEA_REGISTRY_URL: 'git.bepastem.com'
|
||||
#GITEA_REGISTRY_URL: ${{ secrets.GITEA_REGISTRY_URL }}
|
||||
IMAGE_NAME: my-app2
|
||||
IMAGE_NAME: my-app-backend
|
||||
APP_VERSION: v1.0.0
|
||||
#IMAGE_NAME: ${{ vars.IMAGE_NAME }}
|
||||
OWNER: ${{ gitea.actor }}
|
||||
run: |
|
||||
docker buildx build \
|
||||
--platform linux/amd64 \
|
||||
-t $IMAGE_NAME:latest \
|
||||
-t $GITEA_REGISTRY_URL/$OWNER/$IMAGE_NAME:latest \
|
||||
#-t ${{ secrets.GITEA_REGISTRY_URL }}/$OWNER/$IMAGE_NAME:latest \
|
||||
#--push \
|
||||
.
|
||||
#docker buildx build --no-cache -t eberen/services:backend-$APP_VERSION .
|
||||
docker buildx build --platform linux/amd64 -t $OWNER/services:$IMAGE_NAME-backend-$APP_VERSION .
|
||||
#docker buildx build \
|
||||
# --platform linux/amd64 \
|
||||
# -t $IMAGE_NAME:latest \
|
||||
# -t $GITEA_REGISTRY_URL/$OWNER/$IMAGE_NAME:latest \
|
||||
# #-t ${{ secrets.GITEA_REGISTRY_URL }}/$OWNER/$IMAGE_NAME:latest \
|
||||
# #--push \
|
||||
# .
|
||||
|
||||
- name: Push Docker image to Gitea Registry
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user