Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretiveShell authored Dec 4, 2024
1 parent 8bc3862 commit 64b0464
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Build and Publish Docker Image to GHCR
on:
push:
branches:
- main # Trigger this action when pushing to the main branch
- master # Trigger this action when pushing to the main branch
pull_request:
branches:
- main # Trigger on pull requests targeting the main branch
- master # Trigger on pull requests targeting the main branch

jobs:
build:
Expand All @@ -26,8 +26,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }} # GitHub username
password: ${{ secrets.GITHUB_TOKEN }} # GitHub token (automatically available for all workflows)
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Step 4: Build Docker image
- name: Build Docker image
Expand Down

0 comments on commit 64b0464

Please sign in to comment.