Skip to content

Commit

Permalink
Merge pull request #123 from dokku/update-correct-repo
Browse files Browse the repository at this point in the history
fix: respect github.repository when updating hub readme
  • Loading branch information
josegonzalez authored Sep 14, 2024
2 parents 15fc61c + 02aba5c commit 7e2bd61
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Generate docker metadata
id: docker_meta
uses: crazy-max/ghaction-docker-meta@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v1.8.5 => c53f88523ad1fcebbdb10b3bb9cfa7ddb69d6677
with:
images: dokku/ci-docker-image

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v6
Expand All @@ -96,6 +101,7 @@ jobs:
labels: |
${{ steps.docker_meta.outputs.labels }}
org.opencontainers.image.version=${{ github.event.workflow_run.head_branch }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

Expand All @@ -111,4 +117,3 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: peterevans/dockerhub-description

0 comments on commit 7e2bd61

Please sign in to comment.