From 3a5cfbf36fce992d4a0e10edbbcb373f613ec7fe Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Mon, 27 May 2024 16:17:22 -0300 Subject: [PATCH] fix: Build in docker for linux/amd64, linux/arm64 platforms --- .github/workflows/publish_docker_image.yml | 3 +-- .github/workflows/publish_docker_image_homolog.yml | 9 ++++----- CHANGELOG.md | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish_docker_image.yml b/.github/workflows/publish_docker_image.yml index f02f8a464..68a08a313 100644 --- a/.github/workflows/publish_docker_image.yml +++ b/.github/workflows/publish_docker_image.yml @@ -21,8 +21,7 @@ jobs: uses: docker/metadata-action@v5 with: images: atendai/evolution-api - tags: | - type=semver,pattern=v{{version}} + tags: type=semver,pattern=v{{version}} - name: Set up QEMU uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/publish_docker_image_homolog.yml b/.github/workflows/publish_docker_image_homolog.yml index 70b20485c..eb4c62aac 100644 --- a/.github/workflows/publish_docker_image_homolog.yml +++ b/.github/workflows/publish_docker_image_homolog.yml @@ -1,4 +1,4 @@ -name: Build Docker image Homolog +name: Build Docker image on: push: @@ -21,8 +21,7 @@ jobs: uses: docker/metadata-action@v5 with: images: atendai/evolution-api - tags: | - type=semver,pattern=homolog + tags: homlog - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -30,7 +29,7 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Login to GitHub Container Registry + - name: Login to Docker Hub uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} @@ -46,4 +45,4 @@ jobs: labels: ${{ steps.meta.outputs.labels }} - name: Image digest - run: echo ${{ steps.docker_build.outputs.digest }} \ No newline at end of file + run: echo ${{ steps.docker_build.outputs.digest }} diff --git a/CHANGELOG.md b/CHANGELOG.md index de7e88ef3..d07c575a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# 1.8.0 (develop) +# 1.8.0 (2024-05-27 16:10) ### Feature