44 push :
55 tags :
66 - ' v*'
7+ branches :
8+ - test-ci-publishing
79 workflow_dispatch :
810
911env :
@@ -14,35 +16,35 @@ permissions:
1416 id-token : write # for OIDC-based publishing to npm
1517
1618jobs :
17- build-and-push-docker :
18- runs-on : ubuntu-latest
19- permissions :
20- contents : read
21- packages : write
22- attestations : write
23- id-token : write
24- steps :
25- - name : Checkout repository
26- uses : actions/checkout@v4
27- - name : Log in to the Container registry
28- uses : docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
29- with :
30- registry : ${{ env.REGISTRY }}
31- username : ${{ github.actor }}
32- password : ${{ secrets.GITHUB_TOKEN }}
33- - name : Extract metadata (tags, labels) for Docker
34- id : meta
35- uses : docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
36- with :
37- images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38- - name : Build and push Docker image
39- id : push
40- uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
41- with :
42- context : .
43- push : true
44- tags : ${{ steps.meta.outputs.tags }}
45- labels : ${{ steps.meta.outputs.labels }}
19+ # build-and-push-docker:
20+ # runs-on: ubuntu-latest
21+ # permissions:
22+ # contents: read
23+ # packages: write
24+ # attestations: write
25+ # id-token: write
26+ # steps:
27+ # - name: Checkout repository
28+ # uses: actions/checkout@v4
29+ # - name: Log in to the Container registry
30+ # uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
31+ # with:
32+ # registry: ${{ env.REGISTRY }}
33+ # username: ${{ github.actor }}
34+ # password: ${{ secrets.GITHUB_TOKEN }}
35+ # - name: Extract metadata (tags, labels) for Docker
36+ # id: meta
37+ # uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
38+ # with:
39+ # images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
40+ # - name: Build and push Docker image
41+ # id: push
42+ # uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
43+ # with:
44+ # context: .
45+ # push: true
46+ # tags: ${{ steps.meta.outputs.tags }}
47+ # labels: ${{ steps.meta.outputs.labels }}
4648
4749 build-pkg :
4850 runs-on : ubuntu-latest
0 commit comments