Skip to content

Commit

Permalink
chore: push image to dockerhub because jenkins do not talk with harbor
Browse files Browse the repository at this point in the history
  • Loading branch information
bsuttor committed Mar 15, 2024
1 parent 4110b47 commit 9dc8cc8
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/docker-hub-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,26 +51,24 @@ 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
- name: Set up QEMU
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/[email protected]
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
Expand Down

0 comments on commit 9dc8cc8

Please sign in to comment.