test workaround
This commit is contained in:
parent
3b7c0b2a7b
commit
87d0fef331
1 changed files with 13 additions and 3 deletions
|
|
@ -54,6 +54,10 @@ jobs:
|
|||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
buildkitd-flags: --debug
|
||||
driver: docker
|
||||
- uses: crazy-max/ghaction-setup-containerd@v3
|
||||
- uses: docker/metadata-action@v5
|
||||
id: meta
|
||||
with:
|
||||
|
|
@ -68,11 +72,17 @@ jobs:
|
|||
with:
|
||||
registry: pakin-inspiron-15-3530.tail360bd.ts.net
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
password: ${{ secrets.ENV_GITEA_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./server
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
outputs: type=oci,dest=/tmp/image.tar
|
||||
- name: Import image with containerd
|
||||
run: |
|
||||
sudo ctr i import --base-name pakin-inspiron-15-3530.tail360bd.ts.net/pakin/tb-mng-server-app --digests --all-platforms /tmp/image.tar
|
||||
- name: Push image to registry
|
||||
run: |
|
||||
sudo ctr --debug i push --user "${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}" --digests pakin-inspiron-15-3530.tail360bd.ts.net/pakin/tb-mng-server-app:latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue