try again #3
This commit is contained in:
parent
e584c390aa
commit
f5c67a6b4b
1 changed files with 5 additions and 9 deletions
|
|
@ -76,15 +76,11 @@ jobs:
|
|||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.ENV_GITEA_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: ./server
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
push: true
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=min
|
||||
# outputs: type=oci,dest=/tmp/image.tar
|
||||
run: |
|
||||
cd server
|
||||
docker build -t pakin-inspiron-15-3530.tail360bd.ts.net/pakin/taobin_recipe_manager:latest -t pakin-inspiron-15-3530.tail360bd.ts.net/pakin/taobin_recipe_manager:{{ inputs.version }} .
|
||||
docker push pakin-inspiron-15-3530.tail360bd.ts.net/pakin/taobin_recipe_manager:latest
|
||||
docker push pakin-inspiron-15-3530.tail360bd.ts.net/pakin/taobin_recipe_manager:{{ inputs.version }}
|
||||
# - 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue