File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 with :
7575 registry : ghcr.io
7676 username : ${{ github.actor }}
77- password : ${{ secrets.TOKEN_GITHUB }}
77+ password : ${{ github.token }}
7878
7979 - name : Generate image metadata
8080 id : meta
8787 type=raw,value=${{ steps.vars.outputs.version }}
8888 type=ref,event=tag
8989 type=sha,format=short
90+ labels : |
91+ org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}
92+ org.opencontainers.image.url=${{ github.server_url }}/${{ github.repository }}
93+ org.opencontainers.image.revision=${{ github.sha }}
9094
9195 - name : Build and push image package
9296 uses : docker/build-push-action@v6
@@ -100,3 +104,10 @@ jobs:
100104 RUN_TESTS=false
101105 cache-from : type=gha
102106 cache-to : type=gha,mode=max
107+
108+ - name : Show package location
109+ shell : bash
110+ run : |
111+ set -euo pipefail
112+ echo "Package: ghcr.io/${{ steps.vars.outputs.owner }}/${{ steps.vars.outputs.image }}"
113+ echo "Org packages page: https://github.com/orgs/${GITHUB_REPOSITORY_OWNER}/packages?repo_name=${GITHUB_REPOSITORY#*/}"
Original file line number Diff line number Diff line change @@ -52,6 +52,6 @@ COPY --chown=app:app --from=builder /home/app/nitrocraft/.output ./.output
5252COPY --chown=app:app --from=builder /home/app/nitrocraft/package.json ./package.json
5353
5454VOLUME /home/app/nitrocraft/images
55- ENV NODE_ENV production
55+ ENV NODE_ENV= production
5656CMD ["node" , ".output/server/index.mjs" ]
57- EXPOSE 3000
57+ EXPOSE 3000
You can’t perform that action at this time.
0 commit comments