Closed ghostbear closed 1 year ago
Closes #27
This adds a Dockerfile to create a simple Docker image for deployment.
docker build -t tankobon--target tankobon-deploy .
- name: Extract metadata (tags, labels) for Docker id: tankobon uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build and push Docker image uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . push: true target: tankobon-deploy tags: ${{ steps.tankobon.outputs.tags }} labels: ${{ steps.tankobon.outputs.labels }}
More info here https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
Thanks for the contribution, again!
Closes #27
This adds a Dockerfile to create a simple Docker image for deployment.
Usages
GitHub Action for uploading to registry
More info here https://docs.github.com/en/actions/publishing-packages/publishing-docker-images