From b0d82f0872cde7a3dbe57bb18cb77f021ddf9e6a Mon Sep 17 00:00:00 2001 From: anuttinck Date: Wed, 6 Dec 2023 11:07:44 +0100 Subject: [PATCH] [MOD] gh action name and test update base image gh action --- .github/workflows/docker-hub-publish-base.yml | 4 +- .github/workflows/docker-hub-publish.yml | 6 +-- .github/workflows/release.yml | 40 +++++++++---------- actions/{dockerhub => harbor}/action.yml | 2 +- 4 files changed, 26 insertions(+), 26 deletions(-) rename actions/{dockerhub => harbor}/action.yml (97%) diff --git a/.github/workflows/docker-hub-publish-base.yml b/.github/workflows/docker-hub-publish-base.yml index f3a333b..0b18ff9 100644 --- a/.github/workflows/docker-hub-publish-base.yml +++ b/.github/workflows/docker-hub-publish-base.yml @@ -9,8 +9,8 @@ jobs: base: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish base image to harbor + uses: IMIO/buildout.pm/actions/harbor@mod-gh-actions-PMIND-47 with: tags: | imiobe/iadelib:base diff --git a/.github/workflows/docker-hub-publish.yml b/.github/workflows/docker-hub-publish.yml index 757a4cd..4bf84f7 100644 --- a/.github/workflows/docker-hub-publish.yml +++ b/.github/workflows/docker-hub-publish.yml @@ -8,14 +8,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Build latest - uses: IMIO/buildout.pm/actions/dockerhub@master + uses: IMIO/buildout.pm/actions/harbor@master with: tags: | imiobe/iadelib:latest "${{ secrets.HARBOR_URL }}/delib/iadelib:latest" dockerfile: ./docker/Dockerfile-latest - - name: Build dev image - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish dev image + uses: IMIO/buildout.pm/actions/harbor@master with: tags: imiobe/iadelib:dev dockerfile: ./docker/Dockerfile-dev diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abf85c9..67eb44b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,8 @@ jobs: communes: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish communes image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: tags: | "imiobe/iadelib:${{ github.ref_name }}" @@ -20,8 +20,8 @@ jobs: bep: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish bep image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: bep tags: | @@ -31,8 +31,8 @@ jobs: charleroi: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish charleroi image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: charleroi tags: | @@ -42,8 +42,8 @@ jobs: hainaut-prov: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish hainaut-prov image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: hainaut-prov tags: | @@ -53,8 +53,8 @@ jobs: lalouviere: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish lalouviere image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: lalouviere tags: | @@ -64,8 +64,8 @@ jobs: lalouviere-cpas: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish lalouviere-cpas image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: lalouviere-cpas tags: | @@ -75,8 +75,8 @@ jobs: liege: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish liege image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: liege tags: | @@ -86,8 +86,8 @@ jobs: mons: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish mons image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: mons tags: | @@ -97,8 +97,8 @@ jobs: namur: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish namur image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: namur tags: | @@ -108,8 +108,8 @@ jobs: seraing: runs-on: ubuntu-latest steps: - - name: Build and publish to dockerhub - uses: IMIO/buildout.pm/actions/dockerhub@master + - name: Build and publish seraing image to harbor + uses: IMIO/buildout.pm/actions/harbor@master with: profile: seraing tags: | diff --git a/actions/dockerhub/action.yml b/actions/harbor/action.yml similarity index 97% rename from actions/dockerhub/action.yml rename to actions/harbor/action.yml index 32a8156..fdb51a7 100644 --- a/actions/dockerhub/action.yml +++ b/actions/harbor/action.yml @@ -1,4 +1,4 @@ -name: 'Build and publish to dockerhub' +name: 'Build and publish to harbor' description: 'Build and publish to dockerhub and IMIO container registry' inputs: profile: