Skip to content

Commit

Permalink
chore: The GitHub workflow push.yml was updated to use the repository…
Browse files Browse the repository at this point in the history
… owner's Docker images instead of fixed ones. This change allows for more flexibility and control when using Docker images, and ensures that the correct images are used based on the repository owner.
  • Loading branch information
seuros authored and ostafen committed Apr 11, 2024
1 parent 4ab6211 commit a1f23d3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- uses: actions/checkout@v4
- run: |
GITTAG=$(git rev-parse HEAD | head -c 8)
docker build -t codenotary/immudb-dev1:$GITTAG .
docker image tag codenotary/immudb-dev1:$GITTAG codenotary/immudb-dev1:latest
docker build -t ${{ vars.DOCKER_HUB_USER }}/immudb-dev1:$GITTAG .
docker image tag ${{ vars.DOCKER_HUB_USER }}/immudb-dev1:$GITTAG ${{ vars.DOCKER_HUB_USER }}/immudb-dev1:latest
docker login -u "${{ secrets.REGISTRY_USER }}" -p "${{ secrets.REGISTRY_PASS }}"
docker image push codenotary/immudb-dev1:$GITTAG
docker image push codenotary/immudb-dev1:latest
docker image push ${{ vars.DOCKER_HUB_USER }}/immudb-dev1:$GITTAG
docker image push ${{ vars.DOCKER_HUB_USER }}/immudb-dev1:latest
12 changes: 6 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,12 @@ jobs:
env:
JOB_NAME: ${{ github.job }}
JOB_ID: ${{ github.run_id }}
DOCKER_IMAGE_IMMUDB: "codenotary/immudb"
DOCKER_IMAGE_IMMUDB_FIPS: "codenotary/immudb-fips"
DOCKER_IMAGE_IMMUADMIN: "codenotary/immuadmin"
DOCKER_IMAGE_IMMUADMIN_FIPS: "codenotary/immuadmin-fips"
DOCKER_IMAGE_IMMUCLIENT: "codenotary/immuclient"
DOCKER_IMAGE_IMMUCLIENT_FIPS: "codenotary/immuclient-fips"
DOCKER_IMAGE_IMMUDB: "${{ vars.DOCKER_HUB_USER }}/immudb"
DOCKER_IMAGE_IMMUDB_FIPS: "${{ vars.DOCKER_HUB_USER }}/immudb-fips"
DOCKER_IMAGE_IMMUADMIN: "${{ vars.DOCKER_HUB_USER }}/immuadmin"
DOCKER_IMAGE_IMMUADMIN_FIPS: "${{ vars.DOCKER_HUB_USER }}/immuadmin-fips"
DOCKER_IMAGE_IMMUCLIENT: "${{ vars.DOCKER_HUB_USER }}/immuclient"
DOCKER_IMAGE_IMMUCLIENT_FIPS: "${{ vars.DOCKER_HUB_USER }}/immuclient-fips"
DOCKER_BUILDKIT: "1"
DEBIAN_VERSION: bullseye-slim
ALMA_VERSION: almalinux-8-minimal
Expand Down

0 comments on commit a1f23d3

Please sign in to comment.