Ministack: Free, open-source local AWS emulator - 60+ services, Terraform compatible, real databases. Free forever. MIT licensed.
Python awsaws-emulatoraws-localaws-sdkdevtoolsdockerdynamodbec2emulatorlambdalocalstacklocalstack-alternativeministackmock-awsopen-sourcepythons3sqsterraform
ci: consolidate PR Docker preview comments (#1801)
Johannes Grumböck18e8497e5677
diff --git a/.github/workflows/docker-publish-on-pr.yml b/.github/workflows/docker-publish-on-pr.ymlindex 7d43487b..531e67ab 100644--- a/.github/workflows/docker-publish-on-pr.yml+++ b/.github/workflows/docker-publish-on-pr.yml@@ -4,6 +4,10 @@ on:pull_request_target:types: [opened, synchronize, reopened, labeled]+concurrency:+ group: docker-preview-${{ github.event.pull_request.number }}+ cancel-in-progress: true+env:DOCKERHUB_IMAGE_ORG: ministackorg/ministack-preview-build# Suppress docker/build-push-action's auto-generated build summary and the@@ -84,11 +88,11 @@ jobs:- name: Comment that auto-preview was skippedif: steps.guard.outputs.skip == 'true'- uses: peter-evans/create-or-update-comment@v5+ uses: marocchino/sticky-pull-request-comment@v3with:- token: ${{ secrets.GITHUB_TOKEN }}- issue-number: ${{ github.event.pull_request.number }}- body: |+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ header: docker-preview+ message: |Auto-preview build skipped: ${{ steps.guard.outputs.skip_reason }}# checkout@v6 now refuses fork-PR checkouts from pull_request_target@@ -257,11 +261,11 @@ jobs:- name: Comment on PR with Docker image infoif: steps.guard.outputs.skip != 'true'- uses: peter-evans/create-or-update-comment@v5+ uses: marocchino/sticky-pull-request-comment@v3with:- token: ${{ secrets.GITHUB_TOKEN }}- issue-number: ${{ github.event.pull_request.number }}- body: |+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ header: docker-preview+ message: |Docker image for this PR has been published: `${{ steps.meta.outputs.tags }}`${{ steps.meta_full.outputs.tags && format('Full variant: `{0}`', steps.meta_full.outputs.tags) || '' }}Plugin donor used by the regular variant: `${{ steps.plugin_donor.outputs.image }}`