diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a4f1bf2..e2968e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,12 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${GITHUB_ACTOR} + password: ${{secrets.GITHUB_TOKEN}} - name: Build and push uses: docker/build-push-action@v5 with: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index a1ef775..b672d62 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -15,7 +15,7 @@ jobs: matrix: component: - name: consul-backup-daemon - file: alpine/Dockerfile + file: docker/Dockerfile runs-on: ubuntu-latest steps: - name: Checkout