diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 297a9ed..a40a59e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,9 +19,17 @@ jobs: env: DOCKER_USER: ${{ secrets.DOCKER_USER }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} + run: | docker login -u $DOCKER_USER -p $DOCKER_PASSWORD + - name: Quay login + uses: docker/login-action@v2 + with: + registry: quay.io + username: ${{ secrets.QUAY_USERNAME }} + password: ${{ secrets.QUAY_PASSWORD }} + - name: Docker Build run: | docker build -t 'heatcluster:test' . @@ -30,14 +38,14 @@ jobs: id: buildx uses: docker/setup-buildx-action@v2 - - name: Build and push to + - name: Build and push to quay.io/stevebs22/heatcluster uses: docker/build-push-action@v3 with: file: Dockerfile build-args: HEATCLUSTER_VER=${{ github.event.inputs.version }} push: true target: app - tags: heatcluster:${{ github.event.inputs.version }} + tags: quay.io/stevebs22/heatcluster:${{ github.event.inputs.version }} - name: Build and push latest tag to Quay uses: docker/build-push-action@v3 @@ -46,4 +54,4 @@ jobs: build-args: HEATCLUSTER_VER=${{ github.event.inputs.version }} push: true target: app - tags: heatcluster:latest + tags: quay.io/stevebs22/heatcluster:latest