Skip to content

Commit

Permalink
chore(build): login to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
updraft0 committed Apr 18, 2024
1 parent 4c98ce3 commit a07312a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v2
- name: Login to ghcr.io
uses: docker/#-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup JDK
uses: actions/setup-java@v4
with:
Expand All @@ -26,6 +33,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v2
- name: Login to ghcr.io
uses: docker/#-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup JDK
uses: actions/setup-java@v4
with:
Expand All @@ -45,8 +58,8 @@ jobs:
- name: Push to container registry
uses: docker/build-push-action@v5
with:
context: dist/
file: "Dockerfile.nginx"
context: ./ui
file: "ui/Dockerfile.nginx"
tags: controltower-fe:latest
load: true
cache-from: type=gha
Expand Down

0 comments on commit a07312a

Please # to comment.