Skip to content

Commit

Permalink
publish
Browse files Browse the repository at this point in the history
  • Loading branch information
stehessel committed Jan 4, 2023
1 parent 2ba29d9 commit a838cb8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -306,19 +306,19 @@ jobs:

- name: Publish Artifacts to S3 and Docker Hub
run: make -j2 publish BRANCH_NAME=${GITHUB_REF##*/}
if: env.AWS_USR != '' && env.DOCKER_USR != ''
if: env.DOCKER_USR != ''
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_USR }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PSW }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_USR }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PSW }}
GIT_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCS_GIT_USR: ${{ secrets.UPBOUND_BOT_GITHUB_USR }}
DOCS_GIT_PSW: ${{ secrets.UPBOUND_BOT_GITHUB_PSW }}
# DOCS_GIT_USR: ${{ secrets.UPBOUND_BOT_GITHUB_USR }}
# DOCS_GIT_PSW: ${{ secrets.UPBOUND_BOT_GITHUB_PSW }}

- name: Promote Artifacts in S3 and Docker Hub
if: github.ref == 'refs/heads/main' && env.AWS_USR != '' && env.DOCKER_USR != ''
if: github.ref == 'refs/heads/main' && env.DOCKER_USR != ''
run: make -j2 promote
env:
BRANCH_NAME: main
CHANNEL: master
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_USR }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PSW }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_USR }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PSW }}
8 changes: 4 additions & 4 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:
# a step 'if env.AWS_USR' != ""', so we copy these to succinctly test whether
# credentials have been provided before trying to run steps that need them.
DOCKER_USR: ${{ secrets.DOCKER_USR }}
AWS_USR: ${{ secrets.AWS_USR }}
# AWS_USR: ${{ secrets.AWS_USR }}

jobs:
promote-artifacts:
Expand All @@ -39,10 +39,10 @@ jobs:
password: ${{ secrets.DOCKER_PSW }}

- name: Promote Artifacts in S3 and Docker Hub
if: env.AWS_USR != '' && env.DOCKER_USR != ''
if: env.DOCKER_USR != ''
run: make -j2 promote BRANCH_NAME=${GITHUB_REF##*/}
env:
VERSION: ${{ github.event.inputs.version }}
CHANNEL: ${{ github.event.inputs.channel }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_USR }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PSW }}
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_USR }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_PSW }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ KIND_NODE_IMAGE_TAG ?= v1.23.4
-include build/makelib/k8s_tools.mk

# Setup Images
DOCKER_REGISTRY ?= crossplane
DOCKER_REGISTRY ?= shrox
IMAGES = $(PROJECT_NAME) $(PROJECT_NAME)-controller
-include build/makelib/image.mk

Expand Down
2 changes: 1 addition & 1 deletion package/crossplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Provider
metadata:
name: provider-redhat
annotations:
meta.crossplane.io/maintainer: Crossplane Maintainers <[email protected]>
meta.crossplane.io/maintainer: Stephan Heßelmann <[email protected]>
meta.crossplane.io/source: github.com/stehessel/provider-redhat
meta.crossplane.io/license: Apache-2.0
meta.crossplane.io/description: |
Expand Down

0 comments on commit a838cb8

Please sign in to comment.