Skip to content

Commit

Permalink
passed test building image
Browse files Browse the repository at this point in the history
  • Loading branch information
metalice committed Jan 6, 2025
1 parent c43894d commit 2d1d392
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/on-push-main-cypress.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Container image UI tests

on:
pull_request:
# push:
# branches:
# - main
push:
branches:
- main

jobs:
build-and-push:
Expand All @@ -16,20 +15,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

# - name: Log in to Quay.io
# uses: docker/login-action@v3
# with:
# registry: quay.io
# username: ${{ secrets.QUAY_USERNAME }}
# password: ${{ secrets.QUAY_TOKEN }}
- name: Log in to Quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./build/CypressContainerFile
push: false #true
# tags: quay.io/kubev2v/forklift-ui-tests:latest
push: true
tags: quay.io/kubev2v/forklift-ui-tests:latest

# - name: Logout from Quay.io
# run: docker logout quay.io
- name: Logout from Quay.io
run: docker logout quay.io

0 comments on commit 2d1d392

Please sign in to comment.