diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 7f9a597..eba1309 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -14,8 +14,7 @@ on: pull_request: env: - # TODO: Change variable to your image's name. - IMAGE_NAME: image + IMAGE_NAME: compobot jobs: # Run tests. @@ -51,7 +50,6 @@ jobs: run: docker build . --file Dockerfile --tag $IMAGE_NAME - name: Log into GitHub Container Registry - # TODO: Create a PAT with `read:packages` and `write:packages` scopes and save it as an Actions secret `CR_PAT` run: echo "${{ secrets.CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin - name: Push image to GitHub Container Registry diff --git a/Dockerfile b/Dockerfile index a5902cb..139da8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM alpine:latest LABEL maintainer "J. Elfring " +LABEL org.opencontainers.image.source https://github.com/elfrinjo/compoBot RUN apk --no-cache --update \ add bash \