ci: add docker push
このコミットが含まれているのは:
コミット
9227b8fce9
|
@ -14,7 +14,9 @@ jobs:
|
|||
- name: Log into GitHub Container Registry
|
||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag ghcr.io/sinkaroid/jandapress:latest
|
||||
run: |
|
||||
docker build . -t ghcr.io/sinkaroid/jandapress:${{ steps.tags.outputs.name }}
|
||||
- name: Push the Docker image
|
||||
run: docker push ghcr.io/sinkaroid/jandapress:latest
|
||||
run: |
|
||||
docker push ghcr.io/sinkaroid/jandapress:${{ steps.tags.outputs.name }}
|
||||
|
||||
|
|
|
@ -4,5 +4,5 @@ COPY package*.json ./
|
|||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
EXPOSE 3001
|
||||
EXPOSE 3000
|
||||
CMD ["node", "build/src/index.js"]
|
読み込み中…
新しいイシューから参照