diff --git a/.github/workflows/update-docker-image.yml b/.github/workflows/update-docker-image.yml index cef6dc5..c06c12c 100644 --- a/.github/workflows/update-docker-image.yml +++ b/.github/workflows/update-docker-image.yml @@ -33,12 +33,8 @@ jobs: image-name: docker-ci-scripts tags: ${{ github.ref_name }} push-branches: main ${{ github.ref_name }} - slsa-provenance: true - sign: true - sbom: true env: REGISTRY_USERNAME: ${{ github.actor }} REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} REGISTRY_URL: ghcr.io/philips-software GITHUB_ORGANIZATION: philips-software - KEYLESS: true diff --git a/README.md b/README.md index f3bd36c..4f9a17d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -
- # GitHub Action for creating and publishing docker images [![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 --- +
+ This action will build a docker image from a given directory.
diff --git a/entrypoint.sh b/entrypoint.sh index f3931c5..0652713 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -20,33 +20,8 @@ echo "" echo "==========================================================================================================" echo "" -# Write deprecation notice to GitHub Step Summary -{ - echo "## ⚠️ DEPRECATION NOTICE" - echo "" - echo "**This action is deprecated and will no longer receive updates.**" - echo "" - echo "Please migrate to the official Docker GitHub Actions:" - echo "" - echo "### Recommended Migration" - echo "" - echo "1. **[docker/setup-buildx-action](https://github.com/docker/setup-buildx-action)** - Set up Docker Buildx" - echo "2. **[docker/metadata-action](https://github.com/docker/metadata-action)** - Generate image metadata and tags" - echo "3. **[docker/build-push-action](https://github.com/docker/build-push-action)** - Build and push images" - echo "" - echo "### Attestations & Signing" - echo "" - echo "For SBOM and provenance attestations, use the built-in support in \`docker/build-push-action\`:" - echo "" - echo "- 📖 [Docker Build Attestations Documentation](https://docs.docker.com/build/ci/github-actions/attestations/)" - echo "" - echo "### Migration Example" - echo "" - echo "See the [README](https://github.com/philips-software/docker-ci-scripts#readme) for a complete migration example." - echo "" - echo "---" - echo "" -} >> "$GITHUB_STEP_SUMMARY" +# Output deprecation warning as GitHub Actions annotation +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." if [ -n "${SLSA_PROVENANCE}" ] then