You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by bc...@apache.org on 2025/03/13 19:37:11 UTC

(iggy) branch docker-latest-publish updated (a9557c56 -> 403fe807)

This is an automated email from the ASF dual-hosted git repository.

bciesla pushed a change to branch docker-latest-publish
in repository https://gitbox.apache.org/repos/asf/iggy.git


    omit a9557c56 chore(ci): allow docker workflow actions for each commit
     new 403fe807 chore(ci): allow docker workflow actions for each commit

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a9557c56)
            \
             N -- N -- N   refs/heads/docker-latest-publish (403fe807)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/publish_server.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


(iggy) 01/01: chore(ci): allow docker workflow actions for each commit

Posted by bc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bciesla pushed a commit to branch docker-latest-publish
in repository https://gitbox.apache.org/repos/asf/iggy.git

commit 403fe807e63d03a7b994479cf5e8831f92e38a6a
Author: Bartosz Cieśla <ba...@gmail.com>
AuthorDate: Wed Mar 12 19:33:57 2025 +0100

    chore(ci): allow docker workflow actions for each commit
    
    Skip release conditions for docker steps in publish_server
    workflow in order to allow iggy docker image preparation
    for each merged commit under edge tag in dockerhub repo.
---
 .github/workflows/publish_server.yml | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/publish_server.yml b/.github/workflows/publish_server.yml
index 34694b1c..30bd8317 100644
--- a/.github/workflows/publish_server.yml
+++ b/.github/workflows/publish_server.yml
@@ -147,29 +147,24 @@ jobs:
         if: ${{ matrix.platform.cross }}
 
       - name: Set up Docker
-        if: ${{ needs.tag.outputs.tag_created }}
         uses: crazy-max/ghaction-setup-docker@v4
 
       - name: Set up Docker Buildx
-        if: ${{ needs.tag.outputs.tag_created }}
         uses: docker/setup-buildx-action@v3
 
       - name: Login to Docker Hub
-        if: ${{ needs.tag.outputs.tag_created }}
         uses: docker/login-action@v3
         with:
           username: ${{ secrets.DOCKERHUB_USER }}
           password: ${{ secrets.DOCKERHUB_TOKEN }}
 
       - name: Docker meta
-        if: ${{ needs.tag.outputs.tag_created }}
         id: meta
         uses: docker/metadata-action@v5
         with:
           images: ${{ env.DOCKERHUB_REGISTRY_NAME }}
 
       - name: Build and push by digest
-        if: ${{ needs.tag.outputs.tag_created }}
         id: build
         uses: docker/build-push-action@v6
         with:
@@ -183,14 +178,12 @@ jobs:
             IGGY_SERVER_PATH=target/${{ matrix.platform.target }}/release/iggy-server
 
       - name: Export digest
-        if: ${{ needs.tag.outputs.tag_created }}
         run: |
           mkdir -p /tmp/digests
           digest="${{ steps.build.outputs.digest }}"
           touch "/tmp/digests/${digest#sha256:}"
 
       - name: Upload digest
-        if: ${{ needs.tag.outputs.tag_created }}
         uses: actions/upload-artifact@v4
         with:
           name: digests-${{ matrix.platform.os_name }}
@@ -199,14 +192,13 @@ jobs:
           retention-days: 1
 
   merge_docker_manifest:
-    if: ${{ needs.tag.outputs.tag_created }}
     runs-on: ubuntu-latest
     needs:
       - release_and_publish
       - tag
     steps:
       - name: Download digests
-        uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e
+        uses: actions/download-artifact@v4
         with:
           pattern: 'digests-*'
           merge-multiple: true
@@ -236,7 +228,7 @@ jobs:
         with:
           images: ${{ env.DOCKERHUB_REGISTRY_NAME }}
           tags: |
-            latest
+            edge
 
       - name: Create manifest list and push
         working-directory: /tmp/digests