Push the CI runner image #7
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: Push the CI runner image | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- Dockerfile.ci.runner | |
schedule: | |
- cron: '0 2 15 * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Login to Quay Registry | |
run: echo ${{ secrets.QUAY_SECRET }} | docker login quay.io -u ${{ secrets.QUAY_UNAME }} --password-stdin | |
- name: Build the CI runner image | |
run: docker build . --file Dockerfile.ci.runner --tag quay.io/ocs-dev/odf-console-ci:node18 | |
- name: Push the CI runner image to ocs-dev | |
run: docker push quay.io/ocs-dev/odf-console-ci-runner:node18 |