Merge pull request #1386 from kubev2v/konflux/references/main #224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Container image | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Increase File Descriptors Limit | |
run: ulimit -n 4096 | |
- 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: Build and push Docker image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
file: ./build/Containerfile | |
push: true | |
tags: quay.io/kubev2v/forklift-console-plugin:latest | |
- name: Logout from Quay.io | |
run: docker logout quay.io |