Skip to content

Commit

Permalink
Merge pull request #33 from DrB-S/DrB-S-patch-8
Browse files Browse the repository at this point in the history
Dr b s patch 8
  • Loading branch information
DrB-S authored Jan 4, 2024
2 parents 3618898 + 49418b9 commit 01774ec
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' .
Expand All @@ -30,14 +38,14 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2

- name: Build and push to <insert repo>
- 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
Expand All @@ -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

0 comments on commit 01774ec

Please sign in to comment.