From b40b1f720b83e4b0684241a181c6bca3b0ced666 Mon Sep 17 00:00:00 2001 From: Paige Rubendall Date: Fri, 12 Jan 2024 13:43:32 -0500 Subject: [PATCH] tag redhat chaos from krkn-chaos image --- .github/workflows/docker-image.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 2fe4ea67..1f88efce 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -12,13 +12,15 @@ jobs: - name: Check out code uses: actions/checkout@v3 - name: Build the Docker images - run: docker build --no-cache -t quay.io/redhat-chaos/krkn containers/ + run: | + docker build --no-cache -t quay.io/krkn-chaos/krkn containers/ + docker tag quay.io/krkn-chaos/krkn quay.io/redhat-chaos/krkn - name: Login in quay if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: docker login quay.io -u ${QUAY_USER} -p ${QUAY_TOKEN} env: - QUAY_USER: ${{ secrets.QUAY_USER_1 }} - QUAY_TOKEN: ${{ secrets.QUAY_TOKEN_1 }} + QUAY_USER: ${{ secrets.QUAY_USERNAME }} + QUAY_TOKEN: ${{ secrets.QUAY_PASSWORD }} - name: Push the RedHat Chaos Docker images if: github.ref == 'refs/heads/main' && github.event_name == 'push' run: docker push quay.io/redhat-chaos/krkn