Skip to content

Commit

Permalink
fix(workflow): container requires that ENV vars be set.
Browse files Browse the repository at this point in the history
As part of the release process, env vars for the operator and awx must be set. As such the image needs to be rebuilt.

PR #1681
  • Loading branch information
jon-nfc committed Jan 9, 2024
1 parent 78317ff commit 1a94049
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ jobs:

- name: Stage awx-operator
run: |
docker buildx imagetools create ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:${{ github.sha }} --tag ghcr.io/${{ github.repository_owner }}/awx-operator:${{ github.event.inputs.version }}
BUILD_ARGS="--build-arg DEFAULT_AWX_VERSION=${{ github.event.inputs.default_awx_version }} \
--build-arg OPERATOR_VERSION=${{ github.event.inputs.version }}" \
IMG=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:${{ github.event.inputs.version }} \
make docker-buildx
- name: Run test deployment
working-directory: awx-operator
Expand Down

0 comments on commit 1a94049

Please sign in to comment.