Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dr b s patch 8 #33

Merged
merged 4 commits into from
Jan 4, 2024
Merged

Dr b s patch 8 #33

merged 4 commits into from
Jan 4, 2024

Conversation

DrB-S
Copy link
Owner

@DrB-S DrB-S commented Jan 3, 2024

Added Quay.io github secrets and login info.

DrB-S added 2 commits January 3, 2024 15:00
Added quay.io login for push to quay.io
Removed typo
Copy link
Owner Author

@DrB-S DrB-S left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the syntax is right, QUAY.io login will be supported.

@DrB-S DrB-S enabled auto-merge January 3, 2024 22:19
@DrB-S DrB-S closed this Jan 3, 2024
auto-merge was automatically disabled January 3, 2024 22:19

Pull request was closed

@DrB-S DrB-S reopened this Jan 3, 2024
@DrB-S DrB-S enabled auto-merge January 3, 2024 22:23
@DrB-S DrB-S requested a review from erinyoung January 3, 2024 22:37
Added quay.io/stevebs/ in front of heatcluster.
@@ -19,8 +19,12 @@ jobs:
env:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 18-27 (your Docker login step) might not work, or maybe it might. I know there's a lot of ways to do this.

This is how I log into quay:

      - name: Login to Quay
        uses: docker/login-action@v2
        with:
          registry: quay.io
          username: ${{ secrets.QUAY_USERNAME }}
          password: ${{ secrets.QUAY_PASSWORD }}

@@ -30,14 +34,14 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2

- name: Build and push to <insert repo>
- name: Build and push to quay.io/stevebs/heatcluster
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you have a typo here

Your repository name is quay.io/stevebs22/heatcluster (https://quay.io/repository/stevebs22/heatcluster)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this. Thanks!

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/stevebs/heatcluster:${{ github.event.inputs.version }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above (I think there is a typo here)

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this, too! Thanks

@@ -46,4 +50,4 @@ jobs:
build-args: HEATCLUSTER_VER=${{ github.event.inputs.version }}
push: true
target: app
tags: heatcluster:latest
tags: quay.io/stevebs/heatcluster:latest
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above (I think there is a typo here)

@erinyoung
Copy link
Collaborator

Did you set up a robot account for quay? It will need access to your heatcluster repo with write access.

Corrected quay.io username (stevebs -> stevebs22) and added quay.io login.
@DrB-S
Copy link
Owner Author

DrB-S commented Jan 4, 2024

I have corrected docker.yml

@DrB-S
Copy link
Owner Author

DrB-S commented Jan 4, 2024

Setting up the quay robot account now.

@DrB-S
Copy link
Owner Author

DrB-S commented Jan 4, 2024

Robot account is set up.

Copy link
Collaborator

@erinyoung erinyoung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

I vote you merge this and test it.

@DrB-S DrB-S merged commit 01774ec into main Jan 4, 2024
3 checks passed
@DrB-S
Copy link
Owner Author

DrB-S commented Jan 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants