Skip to content

Commit

Permalink
merge container build release job
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Carter <kecarter@redhat.com>
  • Loading branch information
Kevin Carter committed Apr 28, 2021
1 parent 2994afa commit 33cb2a0
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build_docker_stable_container:
build_stable_container:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
Expand All @@ -45,21 +45,6 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: directord:stable
file: Containerfile

build_quay_stable_container:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Quay.io
uses: docker/login-action@v1
with:
Expand All @@ -71,5 +56,7 @@ jobs:
uses: docker/build-push-action@v2
with:
push: true
tags: directord:stable
tags: |
cloudnull/directord:stable
quay.io/cloudnull/directord:stable
file: Containerfile

0 comments on commit 33cb2a0

Please sign in to comment.