Skip to content

Commit

Permalink
Update build-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
darius-sas authored Jan 1, 2024
1 parent e5eba78 commit aa26a91
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ jobs:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Preparation step
run: |
echo "REPOSITORY_OWNER_LC=${REPOSITORY_OWNER,,}" >> ${GITHUB_ENV}
env:
REPOSITORY_OWNER: '${{ github.repository_owner }}'
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ env.REPOSITORY_OWNER_LC }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the image
run: docker build --target cli --tag ghcr.io/${{ env.REPOSITORY_OWNER_LC }}/arcan-2-cli-trial:latest .
- name: Push the image
Expand Down

0 comments on commit aa26a91

Please sign in to comment.