-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Openshift-Console/env-update
Updated Makefile & Workflow to use .env file
- Loading branch information
Showing
2 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,20 +21,15 @@ jobs: | |
- name: Set up ko | ||
uses: ko-build/[email protected] | ||
env: | ||
KO_DOCKER_REPO: quay.io/avik6028 | ||
KO_DOCKER_REPO: quay.io/openshift-console | ||
- name: Lint | ||
run: make lint | ||
- name: Build | ||
env: | ||
auth_token: ${{ secrets.QUAY_AUTH_TOKEN }} | ||
run: | | ||
echo "${auth_token}" | ko login quay.io --username ${{ secrets.QUAY_USER_NAME }} --password-stdin | ||
make container-build | ||
run: make container-build | ||
- name: Test | ||
run: make test | ||
- name: Push | ||
env: | ||
auth_token: ${{ secrets.QUAY_AUTH_TOKEN }} | ||
run: | | ||
echo "${auth_token}" | ko login quay.io --username ${{ secrets.QUAY_USER_NAME }} --password-stdin | ||
make container-push | ||
QUAY_USER_NAME: ${{ secrets.QUAY_USER_NAME }} | ||
QUAY_AUTH_TOKEN: ${{ secrets.QUAY_AUTH_TOKEN }} | ||
run: make container-push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters