Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzheng422 committed Dec 2, 2021
1 parent 8588d3c commit 031c13b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
docker-release:
# The type of runner that the job will run on
runs-on: ubuntu-latest

environment: docker
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand All @@ -59,7 +59,12 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to redhat
uses: docker/login-action@v1
with:
registry: registry.redhat.io
username: ${{ secrets.REDHAT_REGISTRY_USER }}
password: ${{ secrets.REDHAT_REGISTRY_PWD }}
- name: Run a multi-line script
run: |
wget https://mirror.openshift.com/pub/openshift-v4/clients/operator-sdk/latest/operator-sdk-linux-x86_64.tar.gz
Expand Down

0 comments on commit 031c13b

Please sign in to comment.