forked from bioconda/bioconda-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GHA secrets instead of hardcoding the username
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
- Loading branch information
Showing
1 changed file
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,10 @@ jobs: | |
matrix: | ||
include: | ||
- arch: arm64 | ||
image: mgrigorov/bioconda-utils-build-env-cos7-aarch64 | ||
image: ${{ secrets.QUAY_BIOCONDA_USERNAME }}/bioconda-utils-build-env-cos7-aarch64 | ||
base_image: quay.io/condaforge/linux-anvil-aarch64 | ||
- arch: amd64 | ||
image: mgrigorov/bioconda-utils-build-env-cos7 | ||
image: ${{ secrets.QUAY_BIOCONDA_USERNAME }}/bioconda-utils-build-env-cos7-x86_64 | ||
base_image: quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
steps: | ||
- name: Checkout bioconda-containers | ||
|
@@ -72,12 +72,9 @@ jobs: | |
with: | ||
image: ${{ steps.buildah-build.outputs.image }} | ||
tags: ${{ steps.buildah-build.outputs.tags }} | ||
# registry: ${{ secrets.QUAY_BIOCONDA_REPO }} | ||
# username: ${{ secrets.QUAY_BIOCONDA_USERNAME }} | ||
# password: ${{ secrets.QUAY_BIOCONDA_TOKEN }} | ||
registry: quay.io | ||
username: mgrigorov | ||
password: ${{ secrets.QUAY_PASSWORD }} | ||
registry: ${{ secrets.QUAY_BIOCONDA_REPO }} | ||
username: ${{ secrets.QUAY_BIOCONDA_USERNAME }} | ||
password: ${{ secrets.QUAY_BIOCONDA_TOKEN }} | ||
|
||
build-manifest: | ||
needs: [build] | ||
|
@@ -88,9 +85,8 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
# docker-registry: [quay.io/bioconda] | ||
docker-registry: [quay.io/mgrigorov] | ||
docker-registry: [quay.io/${{ secrets.QUAY_BIOCONDA_USERNAME }}] | ||
cfg: | ||
# TODO: What name to use for the manifest list ? | ||
- DOCKER_MANIFEST: bioconda-utils-build-env-cos7 | ||
DOCKER_TAG: "latest" | ||
DOCKER_IMAGES: "<<ORG>>/bioconda-utils-build-env-cos7:<<TAG>>,<<ORG>>/bioconda-utils-build-env-cos7-aarch64:<<TAG>>" | ||
|
@@ -110,12 +106,9 @@ jobs: | |
- name: Login to Quay.io registry | ||
uses: docker/login-action@v2 | ||
with: | ||
# registry: ${{ secrets.QUAY_BIOCONDA_REPO }} | ||
# username: ${{ secrets.QUAY_BIOCONDA_USERNAME }} | ||
# password: ${{ secrets.QUAY_BIOCONDA_TOKEN }} | ||
registry: quay.io | ||
username: mgrigorov | ||
password: ${{ secrets.QUAY_PASSWORD }} | ||
registry: ${{ secrets.QUAY_BIOCONDA_REPO }} | ||
username: ${{ secrets.QUAY_BIOCONDA_USERNAME }} | ||
password: ${{ secrets.QUAY_BIOCONDA_TOKEN }} | ||
|
||
- name: Push Docker manifest list for ${{ matrix.docker-registry }} | ||
uses: Noelware/[email protected] | ||
|