Skip to content

Commit

Permalink
try here too
Browse files Browse the repository at this point in the history
  • Loading branch information
Geczy committed Dec 20, 2023
1 parent a0bd063 commit 7dc6588
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,24 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.CR_PAT }}
# - name: Build and push
# uses: docker/build-push-action@v5
# with:
# context: .
# push: true
# target: main
# tags: ghcr.io/<name>/<image-name>:latest
# cache-from: type=registry,ref=ghcr.io/<name>/<image-name>:latest
# cache-to: type=inline
- name: Build the Docker image
run: |
echo "${{ secrets.CR_PAT }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
docker compose -f ./docker-compose.yml build
docker compose -f ./docker-compose.yml push

0 comments on commit 7dc6588

Please sign in to comment.