Skip to content

Commit

Permalink
Allow for forks of this repository to utilize Github Actions to push …
Browse files Browse the repository at this point in the history
…to their own repositories on DockerHub. (#316)
  • Loading branch information
nigelgbanks authored Dec 7, 2023
1 parent 171ae20 commit 6efb7cd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ jobs:
name: Build and push
run: |
set -ex
make push manifest "PROGRESS=plain" "BUILDER=${{ steps.buildx.outputs.name }}" "TARGET=${{ inputs.image }}-ci" "TAGS=${{ inputs.tags }}" "CONTEXTS=${{ inputs.contexts }}"
make push manifest "PROGRESS=plain" "BUILDER=${{ steps.buildx.outputs.name }}" "TARGET=${{ inputs.image }}-ci" "REPOSITORY=${{ inputs.repository }}" "TAGS=${{ inputs.tags }}" "CONTEXTS=${{ inputs.contexts }}"
echo "digest=-Pisle.${{ inputs.image }}.digest=${{ inputs.repository }}/${{ inputs.image }}@sha256:$(cat build/${{ inputs.image }}.digest)" >> $GITHUB_OUTPUT
echo "context=docker-image://${{ inputs.repository }}/${{ inputs.image }}@sha256:$(cat build/${{ inputs.image }}.digest)" >> $GITHUB_OUTPUT
50 changes: 25 additions & 25 deletions .github/workflows/description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,197 +23,197 @@ jobs:
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/activemq
repository: ${{ vars.repository }}/activemq
readme-filepath: ./activemq/README.md

- name: Alpaca - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/alpaca
repository: ${{ vars.repository }}/alpaca
readme-filepath: ./alpaca/README.md

- name: Base - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/base
repository: ${{ vars.repository }}/base
readme-filepath: ./base/README.md

- name: Blazegraph - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/blazegraph
repository: ${{ vars.repository }}/blazegraph
readme-filepath: ./blazegraph/README.md

- name: cantaloupe - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/cantaloupe
repository: ${{ vars.repository }}/cantaloupe
readme-filepath: ./cantaloupe/README.dockerhub.md

- name: Code-Server - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/code-server
repository: ${{ vars.repository }}/code-server
readme-filepath: ./code-server/README.md

- name: Crayfish - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/crayfish
repository: ${{ vars.repository }}/crayfish
readme-filepath: ./crayfish/README.md

- name: CrayFits - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/crayfits
repository: ${{ vars.repository }}/crayfits
readme-filepath: ./crayfits/README.md

- name: Drupal - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/drupal
repository: ${{ vars.repository }}/drupal
readme-filepath: ./drupal/README.md

- name: Fcrepo6 - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/fcrepo6
repository: ${{ vars.repository }}/fcrepo6
readme-filepath: ./fcrepo6/README.md

- name: Fits - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/fits
repository: ${{ vars.repository }}/fits
readme-filepath: ./fits/README.md

- name: Handle - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/handle
repository: ${{ vars.repository }}/handle
readme-filepath: ./handle/README.md

- name: Homarus - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/homarus
repository: ${{ vars.repository }}/homarus
readme-filepath: ./homarus/README.md

- name: Houdini - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/houdini
repository: ${{ vars.repository }}/houdini
readme-filepath: ./houdini/README.md

- name: hypercube - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/hypercube
repository: ${{ vars.repository }}/hypercube
readme-filepath: ./hypercube/README.md

- name: Java - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/java
repository: ${{ vars.repository }}/java
readme-filepath: ./java/README.md

- name: MariaDB - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/mariadb
repository: ${{ vars.repository }}/mariadb
readme-filepath: ./mariadb/README.md

- name: Matomo - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/matomo
repository: ${{ vars.repository }}/matomo
readme-filepath: ./matomo/README.md

- name: Milliner - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/milliner
repository: ${{ vars.repository }}/milliner
readme-filepath: ./milliner/README.md

- name: Nginx - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/nginx
repository: ${{ vars.repository }}/nginx
readme-filepath: ./nginx/README.md

- name: PostgreSQL - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/postgresql
repository: ${{ vars.repository }}/postgresql
readme-filepath: ./postgresql/README.md

- name: RipRap - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/riprap
repository: ${{ vars.repository }}/riprap
readme-filepath: ./riprap/README.md

- name: Solr - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/solr
repository: ${{ vars.repository }}/solr
readme-filepath: ./solr/README.md

- name: Test - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/tomcat
repository: ${{ vars.repository }}/tomcat
readme-filepath: ./test/README.md

- name: Tomcat - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/tomcat
repository: ${{ vars.repository }}/tomcat
readme-filepath: ./tomcat/README.md

0 comments on commit 6efb7cd

Please sign in to comment.