Skip to content

Commit

Permalink
added build and push action
Browse files Browse the repository at this point in the history
  • Loading branch information
TRudenko22 committed May 22, 2023
1 parent 4f527eb commit 5e2eb22
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/push-to-testing.yml
Original file line number Diff line number Diff line change
@@ -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: .

0 comments on commit 5e2eb22

Please sign in to comment.