Compare commits
No commits in common. "d491f9050dca039a99488e8f54223a017693b402" and "1b6a71060a96486e4e1894a0c90522cb74339e8d" have entirely different histories.
d491f9050d
...
1b6a71060a
1 changed files with 3 additions and 11 deletions
|
|
@ -6,7 +6,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: forge.quinefoundation.com
|
REGISTRY: forge.quinefoundation.com
|
||||||
IMAGE: forge.quinefoundation.com/cold-air-networks/customer-riverside
|
IMAGE: forge.quinefoundation.com/ironmagma/customer-riverside
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -37,18 +37,10 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
id: push
|
id: push
|
||||||
env:
|
|
||||||
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
|
||||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
|
||||||
run: |
|
run: |
|
||||||
podman build --layers=false -t "$IMAGE:${{ github.sha }}" .
|
podman build --layers=false -t "$IMAGE:${{ github.sha }}" .
|
||||||
podman push "$IMAGE:${{ github.sha }}"
|
podman push "$IMAGE:${{ github.sha }}" --digestfile /tmp/img-digest
|
||||||
DIGEST=$(curl -sf \
|
DIGEST=$(grep -oE '[a-f0-9]{64}' /tmp/img-digest)
|
||||||
-u "${REGISTRY_USERNAME}:${REGISTRY_PASSWORD}" \
|
|
||||||
-H "Accept: application/vnd.oci.image.manifest.v1+json" \
|
|
||||||
-I \
|
|
||||||
"https://${{ env.REGISTRY }}/v2/cold-air-networks/customer-riverside/manifests/${{ github.sha }}" \
|
|
||||||
| grep -i 'docker-content-digest:' | grep -oE '[a-f0-9]{64}')
|
|
||||||
echo "digest=$DIGEST" >> $GITHUB_OUTPUT
|
echo "digest=$DIGEST" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
bump-infra:
|
bump-infra:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue