Skip to content

Commit 7e4ca93

Browse files
committed
Remove image attestation generation
It cannot be done in separate steps.
1 parent d9781e9 commit 7e4ca93

1 file changed

Lines changed: 0 additions & 44 deletions

File tree

.github/workflows/release.yaml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -238,47 +238,3 @@ jobs:
238238
docker manifest push ghcr.io/qbittorrent/docker-qbittorrent-nox:${{ env.QBT_VERSION }}-lt2-${{ env.TAG_RELEASE_NUMBER }}
239239
docker manifest push ghcr.io/qbittorrent/docker-qbittorrent-nox:latest
240240
echo "::notice Remember to remove latest-* tags from Docker Hub!"
241-
242-
- name: Export digests
243-
id: export_digests
244-
run: |
245-
docker pull qbittorrentofficial/qbittorrent-nox:latest
246-
digest_latest=$(docker inspect qbittorrentofficial/qbittorrent-nox:latest \
247-
| jq -r '.[0].Id')
248-
echo "digest_latest=$digest_latest" >> "$GITHUB_OUTPUT"
249-
docker pull qbittorrentofficial/qbittorrent-nox:${{ env.QBT_VERSION }}-lt2-${{ env.TAG_RELEASE_NUMBER }}
250-
digest_lt2=$(docker inspect qbittorrentofficial/qbittorrent-nox:${{ env.QBT_VERSION }}-lt2-${{ env.TAG_RELEASE_NUMBER }} \
251-
| jq -r '.[0].Id')
252-
echo "digest_lt2=$digest_lt2" >> "$GITHUB_OUTPUT"
253-
254-
- name: "Generate image attestation (Docker Hub, tag: latest)"
255-
uses: actions/attest@v4
256-
with:
257-
subject-name: docker.io/qbittorrentofficial/qbittorrent-nox
258-
subject-digest: ${{ steps.export_digests.outputs.digest_latest }}
259-
push-to-registry: true
260-
create-storage-record: true
261-
262-
- name: "Generate image attestation (Docker Hub, tag: lt2)"
263-
uses: actions/attest@v4
264-
with:
265-
subject-name: docker.io/qbittorrentofficial/qbittorrent-nox
266-
subject-digest: ${{ steps.export_digests.outputs.digest_lt2 }}
267-
push-to-registry: true
268-
create-storage-record: false
269-
270-
- name: "Generate image attestation (GitHub Container registry, tag: latest)"
271-
uses: actions/attest@v4
272-
with:
273-
subject-name: ghcr.io/qbittorrent/docker-qbittorrent-nox
274-
subject-digest: ${{ steps.export_digests.outputs.digest_latest }}
275-
push-to-registry: true
276-
create-storage-record: false
277-
278-
- name: "Generate image attestation (GitHub Container registry, tag: lt2)"
279-
uses: actions/attest@v4
280-
with:
281-
subject-name: ghcr.io/qbittorrent/docker-qbittorrent-nox
282-
subject-digest: ${{ steps.export_digests.outputs.digest_lt2 }}
283-
push-to-registry: true
284-
create-storage-record: false

0 commit comments

Comments
 (0)