we're no longer publishing docker containers

This commit is contained in:
softprops 2019-09-09 21:13:47 +09:00
parent e5cba7ebb2
commit 624fcca9a1

View File

@ -1,9 +1,6 @@
name: Main
on: [pull_request, push]
# push:
# branches:
# - 'master'
jobs:
build:
@ -26,21 +23,4 @@ jobs:
git diff --exit-code --stat -- . ':!node_modules' \
|| (echo "##[error] found changed files after build. please 'npm run build && npm run format'" \
"and check in all changes" \
&& exit 1)
# https://github.com/actions/docker/tree/master/cli
# - name: Package
# uses: actions/docker/cli@master
# with:
# args: build -t ${{ github.repository }}:latest -t ${{ github.repository }}:${{ github.sha }} .
# # https://github.com/actions/docker/tree/master/login
# - name: Publish Auth
# uses: actions/docker/login@master
# env:
# # https://help.github.com/en/articles/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
# DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
# # https://github.com/actions/docker/tree/master/cli
# - name: Publish
# uses: actions/docker/cli@master
# with:
# args: push ${{ github.repository }}:latest
&& exit 1)