File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 37
37
- name : Available platforms
38
38
run : echo ${{ steps.buildx.outputs.platforms }}
39
39
40
- - name : Build
40
+ - name : Publish to GitHub Container Registry
41
+ env :
42
+ REGISTRY : ghcr.io/stashed
43
+ DOCKER_TOKEN : ${{ secrets.LGTM_GITHUB_TOKEN }}
44
+ USERNAME : 1gtm
45
+ APPSCODE_ENV : prod
46
+ run : |
47
+ docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
48
+ make release
49
+
50
+ - name : Publish to Docker Registry
41
51
env :
42
52
DOCKER_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
43
53
USERNAME : 1gtm
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ RUN set -x
33
33
34
34
FROM {ARG_FROM}
35
35
36
+ LABEL org.opencontainers.image.source https://github.com/stashed/mongodb
37
+
36
38
COPY --from=0 restic_{NEW_RESTIC_VER} /bin/restic_{NEW_RESTIC_VER}
37
39
COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN}
38
40
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ RUN set -x
33
33
34
34
FROM {ARG_FROM}
35
35
36
+ LABEL org.opencontainers.image.source https://github.com/stashed/mongodb
37
+
36
38
COPY --from=0 /restic_{NEW_RESTIC_VER} /bin/restic_{NEW_RESTIC_VER}
37
39
COPY bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN}
38
40
You can’t perform that action at this time.
0 commit comments