From 5e2eb22ebc9f2470accdd338ccdbfba4551ebd41 Mon Sep 17 00:00:00 2001 From: TRudenko22 Date: Mon, 22 May 2023 10:33:58 -0400 Subject: [PATCH] added build and push action --- .github/workflows/push-to-testing.yml | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/push-to-testing.yml diff --git a/.github/workflows/push-to-testing.yml b/.github/workflows/push-to-testing.yml new file mode 100644 index 0000000..d08b616 --- /dev/null +++ b/.github/workflows/push-to-testing.yml @@ -0,0 +1,35 @@ +name: Push manager to curator/curator-test + +on: + push: + branches: + - testing + + +env: + QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} + QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }} + IMAGE: curator-test + TAG: latest + REPO: curator + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Quay Login + uses: docker/login-action@v1 + with: + registry: quay.io + username: ${{ env.QUAY_USERNAME }} + password: ${{ env.QUAY_PASSWORD }} + + - name: Build and Push + uses: docker/build-push-action@v2 + with: + push: true + tags: quay.io/${{ env.REPO }}/${{ env.IMAGE }}:${{ env.TAG }} + context: .