File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and publish a Docker image to ghcr.io
2+ on :
3+
4+ # publish on pushes to the main branch (image tagged as "latest")
5+ # image name: will be: ghcr.io/${{ github.repository }}:latest
6+ # e.g.: ghcr.io/intersystems-community/intersystems-iris-dev-template:latest
7+ push :
8+ branches :
9+ - master
10+
11+ jobs :
12+ docker_publish :
13+ runs-on : " ubuntu-20.04"
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ # https://github.com/marketplace/actions/push-to-ghcr
19+ - name : Build and publish a Docker image for ${{ github.repository }}
20+ uses : macbre/push-to-ghcr@master
21+ with :
22+ image_name : ${{ github.repository }}
23+ github_token : ${{ secrets.GITHUB_TOKEN }}
24+ # optionally push to the Docker Hub (docker.io)
25+ # docker_io_token: ${{ secrets.DOCKER_IO_ACCESS_TOKEN }} # see https://hub.docker.com/settings/security
You can’t perform that action at this time.
0 commit comments