Skip to content

Commit

Permalink
ci: update docker yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SrIzan10 committed Jul 28, 2024
1 parent 2aafce2 commit fa23042
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to Sr Izan's container registry
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
registry: containers.srizan.dev
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
with:
images: containers.srizan.dev/vinci
images: srizan10/vinci
tags: latest

- name: Build and push Docker image
Expand All @@ -53,5 +52,5 @@ jobs:
AUTH_HEADER: ${{ secrets.WHSERVER_TOKEN }}
run: |
curl -X POST \
-H "Authorization: Bearer $AUTH_HEADER" \
https://webhooks.srizan.dev/hooks/vinci
-H "Authorization: $AUTH_HEADER" \
https://webhooks.srizan.dev/hooks/vinci

0 comments on commit fa23042

Please sign in to comment.