Skip to content

Commit

Permalink
[cherry-pick] Publish docker images to ghcr.io (#318) (#322)
Browse files Browse the repository at this point in the history
/cherry-pick

Signed-off-by: Tamal Saha <tamal@appscode.com>

Co-authored-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
1gtm and tamalsaha committed Oct 8, 2020
1 parent 6e0b947 commit 4db1d24
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -37,7 +37,17 @@ jobs:
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: Build
- name: Publish to GitHub Container Registry
env:
REGISTRY: ghcr.io/stashed
DOCKER_TOKEN: ${{ secrets.LGTM_GITHUB_TOKEN }}
USERNAME: 1gtm
APPSCODE_ENV: prod
run: |
docker login ghcr.io --username ${USERNAME} --password ${DOCKER_TOKEN}
make release
- name: Publish to Docker Registry
env:
DOCKER_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
USERNAME: 1gtm
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.dbg
Expand Up @@ -33,6 +33,8 @@ RUN set -x

FROM {ARG_FROM}

LABEL org.opencontainers.image.source https://github.com/stashed/elasticsearch

RUN set -x \
&& apk add --update --no-cache bash ca-certificates curl

Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.in
Expand Up @@ -33,6 +33,8 @@ RUN set -x

FROM {ARG_FROM}

LABEL org.opencontainers.image.source https://github.com/stashed/elasticsearch

RUN set -x \
&& apk add --update --no-cache bash ca-certificates curl

Expand Down

0 comments on commit 4db1d24

Please sign in to comment.