From db81583884a18f9915b70125192ce3e3d59902c2 Mon Sep 17 00:00:00 2001 From: Saeed Vaziry <61919774+saeedvaziry@users.noreply.github.com> Date: Sat, 14 Dec 2024 17:31:55 +0100 Subject: [PATCH] update actions (#393) --- .github/workflows/docker-release.yml | 6 +++--- .github/workflows/docker.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 89cd71a1..90bd78ad 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -1,4 +1,4 @@ -name: Build and push Docker image +name: Docker Release on: release: @@ -23,7 +23,7 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build and push Docker image + - name: Build and push to the release tag run: | docker buildx build . \ -f docker/Dockerfile \ @@ -33,7 +33,7 @@ jobs: --no-cache \ --push - - name: Build and push latest tag + - name: Build and push to the latest tag if: startsWith(github.event.release.target_commitish, '2.x') run: | docker buildx build . \ diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3d7870b0..f7e9caea 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,4 +1,4 @@ -name: Build and push Docker image +name: Docker on: push: