Skip to content

Commit

Permalink
Added option to easily enable/disable CR's
Browse files Browse the repository at this point in the history
Quay.io had some issues the past week, to prevent fully failing builds
added an option to enable/disable the repo's per registry.
  • Loading branch information
BlackDex committed Nov 12, 2023
1 parent 444b967 commit fe53e93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust-musl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install Stable Rust Toolchain
uses: dtolnay/rust-toolchain@d76c2a93c593483c9892fd8d2538734f73ed8588 # stable @ Sep 19, 2023, 5:32 PM GMT+2
Expand Down Expand Up @@ -242,9 +242,9 @@ jobs:
needs: [build_vars]
runs-on: ubuntu-latest
env:
HAVE_DOCKERHUB_LOGIN: ${{ secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' }}
HAVE_GHCR_LOGIN: ${{ github.repository_owner != '' && secrets.GITHUB_TOKEN != '' }}
HAVE_QUAY_LOGIN: ${{ secrets.QUAY_USERNAME != '' && secrets.QUAY_TOKEN != '' }}
HAVE_DOCKERHUB_LOGIN: ${{ vars.DOCKERHUB_ENABLED == 'true' && secrets.DOCKERHUB_USERNAME != '' && secrets.DOCKERHUB_TOKEN != '' }}
HAVE_GHCR_LOGIN: ${{ vars.GHCR_ENABLED == 'true' && github.repository_owner != '' && secrets.GITHUB_TOKEN != '' }}
HAVE_QUAY_LOGIN: ${{ vars.QUAY_ENABLED == 'true' && secrets.QUAY_USERNAME != '' && secrets.QUAY_TOKEN != '' }}
if: ${{ github.repository == 'BlackDex/rust-musl' }}
strategy:
fail-fast: false
Expand All @@ -269,7 +269,7 @@ jobs:

steps:
- name: Checkout Repo
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

# This action is messing with the host caching when using `act`
- name: Setup Docker Buildx (setup-buildx-action)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The following libraries are pre-build and marked as `STATIC` already via `ENV` v
* OpenSSL v3.0 (`v3.0.12`)
* cURL (`v8.4.0`)
* ZLib (`v1.3`)
* PostgreSQL lib (`v11.21`) and PostgreSQL lib (`v15.4`)
* PostgreSQL lib (`v11.22`) and PostgreSQL lib (`v15.5`)
* SQLite (`v3.44.0`)
* MariaDB Connector/C (`v3.3.5`) (MySQL Compatible)

Expand Down

0 comments on commit fe53e93

Please sign in to comment.