Skip to content

Commit 71a8356

Browse files
committed
wip
1 parent adce19b commit 71a8356

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/fix-docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
raw-docker-tags: |
1212
type=raw,value=1.5.12
1313
type=raw,value=latest,enable=true
14-
environment: Docker Hub
14+
environment: ''
1515
ref: v1.5.12
1616
permissions:
1717
contents: read

.github/workflows/publish-docker-image.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,15 @@ jobs:
4949
- uses: regclient/actions/regctl-installer@4d6888fcc4842c9630f60ebc91715a45dd9bd7a3
5050
- uses: proudust/gh-describe@70f72d4f6304ea053cf5a3d71c36211d5acc0c73
5151
id: ghd
52+
with:
53+
commit-ish: ${{ inputs.ref || github.sha}}
5254
- name: Prepare base image and node version
5355
run: |
5456
BASE_IMAGE=${{ inputs.base-image }}
5557
BASE_IMAGE=${BASE_IMAGE:-$(head -n1 docker/Dockerfile | cut -d= -f2-)}
5658
echo "base-image=$BASE_IMAGE" >> "$GITHUB_OUTPUT"
5759
echo "base-image-digest=$(regctl manifest digest $BASE_IMAGE)" >> "$GITHUB_OUTPUT"
58-
if [ -n "${{ inputs.ref }}" ]; then
59-
echo "node-version=$(echo ${{ inputs.ref }} | cut -c 2-)" >> $GITHUB_OUTPUT
60-
else
61-
echo "node-version=$(echo ${{ steps.ghd.outputs.describe }} | cut -c 2-)" >> "$GITHUB_OUTPUT"
62-
fi
60+
echo "node-version=$(echo ${{ steps.ghd.outputs.describe }} | cut -c 2-)" >> "$GITHUB_OUTPUT"
6361
id: versions
6462
- uses: actions/setup-java@v4
6563
with:
@@ -95,12 +93,13 @@ jobs:
9593
run: |
9694
{
9795
echo 'annotations<<EOF'
98-
echo org.opencontainers.image.source=https://github.com/${{ github.repository }}/tree/${{ github.sha }}/docker
96+
echo org.opencontainers.image.source=https://github.com/${{ github.repository }}/tree/${{ steps.ghd.outputs.sha }}/docker
9997
echo org.opencontainers.image.licenses=MIT
10098
echo org.opencontainers.image.description=Waves Node
10199
echo org.opencontainers.image.base.name=${{ steps.versions.outputs.base-image }}
102100
echo org.opencontainers.image.base.digest=${{ steps.versions.outputs.base-image-digest }}
103101
echo org.opencontainers.image.version=${{ steps.versions.outputs.node-version }}
102+
echo org.opencontainers.image.revision=${{ steps.ghd.outputs.sha }}
104103
echo EOF
105104
} >> "$GITHUB_OUTPUT"
106105
id: annotations
@@ -126,6 +125,7 @@ jobs:
126125
labels: ${{ steps.tag-list.outputs.annotations }}
127126
annotations: ${{ steps.annotations.outputs.annotations }}
128127
- uses: docker/build-push-action@v6
128+
if: false
129129
id: push
130130
with:
131131
context: ./docker

0 commit comments

Comments
 (0)