remember to login to OCI
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 12s
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 12s
This commit is contained in:
parent
c9499421f8
commit
0b58c0e7b3
1 changed files with 4 additions and 0 deletions
|
@ -21,6 +21,10 @@ jobs:
|
||||||
echo "REPO_HOST=$(echo "${{ github.server_url }}" | sed 's~http[s]*://~~g')" >> $GITHUB_ENV
|
echo "REPO_HOST=$(echo "${{ github.server_url }}" | sed 's~http[s]*://~~g')" >> $GITHUB_ENV
|
||||||
echo "REPO_PATH=${{ github.repository }}" >> $GITHUB_ENV
|
echo "REPO_PATH=${{ github.repository }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Login to OCI registry
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.OCI_TOKEN }}" | docker login $REPO_HOST -u "${{ secrets.OCI_USER }}" --password-stdin
|
||||||
|
|
||||||
- name: Build and push Docker images
|
- name: Build and push Docker images
|
||||||
run: |
|
run: |
|
||||||
# Build Docker image with commit SHA
|
# Build Docker image with commit SHA
|
||||||
|
|
Loading…
Reference in a new issue