From 9dc8cc8f8e963eed1ce450afe6628895a112d879 Mon Sep 17 00:00:00 2001 From: Benoit Suttor Date: Fri, 15 Mar 2024 10:47:43 +0100 Subject: [PATCH] chore: push image to dockerhub because jenkins do not talk with harbor --- .github/workflows/docker-hub-publish.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-hub-publish.yml b/.github/workflows/docker-hub-publish.yml index e3ab04e..f3d01f1 100644 --- a/.github/workflows/docker-hub-publish.yml +++ b/.github/workflows/docker-hub-publish.yml @@ -51,8 +51,7 @@ jobs: pull: true push: true py3-ubuntu-20_04: - runs-on: - group: self-hosted + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 @@ -60,17 +59,16 @@ jobs: uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Login to Harbor - uses: docker/login-action@v3 + - name: Login to DockerHub + uses: docker/login-action@v1 with: - registry: ${{ secrets.HARBOR_URL }} - username: ${{ secrets.COMMON_HARBOR_USERNAME }} - password: ${{ secrets.COMMON_HARBOR_PASSWORD }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: py3-ubuntu-20.04 uses: docker/build-push-action@v2.5.0 with: context: py3/ubuntu/20.04 - tags: ${{ secrets.HARBOR_URL }}/common/base:py3-ubuntu-20.04 + tags: imiobe/base:py3-ubuntu-20.04 platforms: linux/amd64 pull: true push: true