Skip to content

Commit

Permalink
Simplify simplify simplify. Also RW perms
Browse files Browse the repository at this point in the history
  • Loading branch information
Stringy committed Aug 17, 2023
1 parent 3cf61de commit 946b186
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions .github/workflows/integration-test-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_RHACS_ENG_RO_USERNAME }}
password: ${{ secrets.QUAY_RHACS_ENG_RO_PASSWORD }}
username: ${{ secrets.QUAY_RHACS_ENG_RW_USERNAME }}
password: ${{ secrets.QUAY_RHACS_ENG_RW_PASSWORD }}

- name: Build containers
run: |
Expand All @@ -81,36 +81,6 @@ jobs:
env:
PLATFORM: linux/${{ matrix.arch }}

push-manifest:
runs-on: ubuntu-latest
needs:
- rebuild-containers
- test-containers
if: needs.test-containers.outputs.changed == 'true'
steps:
- uses: actions/checkout@v3

- name: Get changed containers
run: |
dirs=$(dirname ${{ needs.test-containers.outputs.changed_files }} | sort | uniq )
{
echo "CONTAINER_DIRS<<EOS"
echo "$dirs"
echo "EOS"
} >> "$GITHUB_ENV"
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
echo "COLLECTOR_QA_TAG=$(echo "${GITHUB_SHA}" | cut -c1-8)" >> "$GITHUB_ENV"
fi
- name: Login to quay.io/rhacs-eng
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_RHACS_ENG_RW_USERNAME }}
password: ${{ secrets.QUAY_RHACS_ENG_RW_PASSWORD }}

- name: Make manifests
run: |
for dir in $CONTAINER_DIRS; do
Expand Down

0 comments on commit 946b186

Please sign in to comment.