@@ -54,26 +54,27 @@ jobs:
5454 uses : docker/build-push-action@v5
5555 with :
5656 context : release
57+ secrets : |
58+ "github_token=${{ secrets.GH_TOKEN }}"
5759 file : release/codon/Dockerfile
5860 push : true
59- load : true
6061 build-args : |
6162 VERSION=${{ env.VERSION }}
6263 tags : " ${{ env.IMAGE_BASE }}:${{ env.VERSION }}"
6364 cache-from : type=registry,ref=ghcr.io/marcelkottmann/armembeddon/tools-base-codon:buildcache
6465 cache-to : type=registry,ref=ghcr.io/marcelkottmann/armembeddon/tools-base-codon:buildcache,mode=max
6566
66- - name : Extract Build Artifacts to Host
67- # Use docker run with --rm (auto-cleanup) and a volume mount (-v)
68- run : |
69- docker run --rm \
70- -v ${{ github.workspace }}/artifact-mount:/release \
71- ${{ env.IMAGE_BASE }}:${{ env.VERSION }} \
72- sh -c "cp armembeddon.tar.gz /release/"
67+ # - name: Extract Build Artifacts to Host
68+ # # Use docker run with --rm (auto-cleanup) and a volume mount (-v)
69+ # run: |
70+ # docker run --rm \
71+ # -v ${{ github.workspace }}/artifact-mount:/release \
72+ # ${{ env.IMAGE_BASE }}:${{ env.VERSION }} \
73+ # sh -c "cp armembeddon.tar.gz /release/"
7374
74- - name : Upload Artifacts
75- uses : actions/upload-artifact@v4
76- with :
77- name : codon-build-artifacts-${{ env.VERSION }}
78- path : ${{ github.workspace }}/artifact-mount/
79- retention-days : 7
75+ # - name: Upload Artifacts
76+ # uses: actions/upload-artifact@v4
77+ # with:
78+ # name: codon-build-artifacts-${{ env.VERSION }}
79+ # path: ${{ github.workspace }}/artifact-mount/
80+ # retention-days: 7
0 commit comments