remember to login to OCI
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 12s

This commit is contained in:
merith-tk 2024-11-03 14:11:50 -08:00
parent c9499421f8
commit 0b58c0e7b3

View file

@ -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