Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit 548508e

Browse files
committed
chore: streamline deprecation notices in entrypoint script and update README layout
1 parent 981ccd2 commit 548508e

File tree

3 files changed

+4
-33
lines changed

3 files changed

+4
-33
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,8 @@ jobs:
3333
image-name: docker-ci-scripts
3434
tags: ${{ github.ref_name }}
3535
push-branches: main ${{ github.ref_name }}
36-
slsa-provenance: true
37-
sign: true
38-
sbom: true
3936
env:
4037
REGISTRY_USERNAME: ${{ github.actor }}
4138
REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4239
REGISTRY_URL: ghcr.io/philips-software
4340
GITHUB_ORGANIZATION: philips-software
44-
KEYLESS: true

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<div align="center">
2-
31
# GitHub Action for creating and publishing docker images
42

53
[![Marketplace](https://img.shields.io/badge/GitHub-Marketplace-green.svg)](https://github.com/marketplace/actions/docker-build-and-publish) [![Release](https://img.shields.io/github/release/philips-software/docker-ci-scripts.svg)](https://github.com/philips-software/docker-ci-scripts/releases)
@@ -64,6 +62,8 @@ For signing and SBOM/provenance attestations, use GitHub's built-in attestation
6462
6563
---
6664
65+
<div align="center">
66+
6767
This action will build a docker image from a given directory.
6868
6969
</div>

entrypoint.sh

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -20,33 +20,8 @@ echo ""
2020
echo "=========================================================================================================="
2121
echo ""
2222

23-
# Write deprecation notice to GitHub Step Summary
24-
{
25-
echo "## ⚠️ DEPRECATION NOTICE"
26-
echo ""
27-
echo "**This action is deprecated and will no longer receive updates.**"
28-
echo ""
29-
echo "Please migrate to the official Docker GitHub Actions:"
30-
echo ""
31-
echo "### Recommended Migration"
32-
echo ""
33-
echo "1. **[docker/setup-buildx-action](https://github.com/docker/setup-buildx-action)** - Set up Docker Buildx"
34-
echo "2. **[docker/metadata-action](https://github.com/docker/metadata-action)** - Generate image metadata and tags"
35-
echo "3. **[docker/build-push-action](https://github.com/docker/build-push-action)** - Build and push images"
36-
echo ""
37-
echo "### Attestations & Signing"
38-
echo ""
39-
echo "For SBOM and provenance attestations, use the built-in support in \`docker/build-push-action\`:"
40-
echo ""
41-
echo "- 📖 [Docker Build Attestations Documentation](https://docs.docker.com/build/ci/github-actions/attestations/)"
42-
echo ""
43-
echo "### Migration Example"
44-
echo ""
45-
echo "See the [README](https://github.com/philips-software/docker-ci-scripts#readme) for a complete migration example."
46-
echo ""
47-
echo "---"
48-
echo ""
49-
} >> "$GITHUB_STEP_SUMMARY"
23+
# Output deprecation warning as GitHub Actions annotation
24+
echo "::warning file=entrypoint.sh,line=1,title=Action Deprecated::This action is deprecated and will no longer receive updates. Please migrate to the official Docker actions: docker/setup-buildx-action, docker/metadata-action, and docker/build-push-action. See https://github.com/philips-software/docker-ci-scripts#readme for migration guide."
5025

5126
if [ -n "${SLSA_PROVENANCE}" ]
5227
then

0 commit comments

Comments
 (0)