Skip to content

Commit

Permalink
fix: adds login task
Browse files Browse the repository at this point in the history
  • Loading branch information
austbot committed Oct 31, 2024
1 parent 3779888 commit e3f8688
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci-docker.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: Docker Build from Image CI
on:
pull_request:
branches:
- main
push:
branches:
- "main"
- "ci-rework"

jobs:
build:
permissions:
Expand All @@ -22,7 +19,13 @@ jobs:
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v3
with:
context: .github/docker
Expand Down

0 comments on commit e3f8688

Please sign in to comment.