File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3737 needs : test
3838 steps :
3939
40+ - name : Login to GitHub Container Registry
41+ uses : docker/login-action@v1
42+ with :
43+ registry : ghcr.io
44+ username : scribdbot
45+ password : ${{ secrets.SCRIBDBOT_GH_CONTAINER_REGISTRY_TOKEN }}
46+
4047 - name : Check out code into the Go module directory
4148 uses : actions/checkout@v2
4249
6168 - name : Build and publish docker image
6269 run : |
6370 VERSION=${GITHUB_REF##*/}
64- echo ${SCRIBDBOT_GH_CONTAINER_REGISTRY_TOKEN} | docker login ghcr.io -u scribdbot --password-stdin
6571 docker build --rm -t "ghcr.io/scribd/objinsync:${VERSION}" .
6672 docker push "ghcr.io/scribd/objinsync:${VERSION}"
Original file line number Diff line number Diff line change 1- FROM golang:1.16.3 as build
1+ FROM golang:1.16.5 as build
22LABEL org.opencontainers.image.source https://github.com/scribd/objinsync
33ADD . /app
44WORKDIR /app
You can’t perform that action at this time.
0 commit comments