Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mattholy committed Feb 5, 2024
1 parent c7b9e6c commit b5a5303
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get the Ref
id: tag-gen
uses: ankitvgupta/ref-to-tag-action@master
Expand All @@ -48,6 +41,4 @@ jobs:
tags: |
mattholy/wand:${{ steps.tag-gen.outputs.tag }}
mattholy/wand:latest
ghcr.io/mattholy/wand:${{ steps.tag-gen.outputs.tag }}
ghcr.io/mattholy/wand:latest
build-args: VERSION=${{ steps.tag-gen.outputs.tag }}
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ COPY start.sh /start.sh
RUN chmod +x /start.sh && \
adduser --system --no-create-home wand

LABEL org.opencontainers.image.source=https://github.com/mattholy/wand
USER wand
EXPOSE 80
CMD ["/start.sh"]

0 comments on commit b5a5303

Please sign in to comment.