diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 084a4d1..38dc8dd 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -16,6 +16,13 @@ jobs: runs-on: ubuntu-latest-arm64 steps: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + + - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 + with: + registry: harbor.cryptic.systems + username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }} + password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }} + - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 with: image: harbor.cryptic.systems/docker/tonistiigi/binfmt:latest @@ -36,6 +43,13 @@ jobs: runs-on: ubuntu-latest-amd64 steps: - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 + + - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 + with: + registry: harbor.cryptic.systems + username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }} + password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }} + - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 with: image: harbor.cryptic.systems/docker/tonistiigi/binfmt:latest diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 52c79b8..a6e84ec 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -32,17 +32,23 @@ jobs: fetch-tags: true ref: "${{ steps.version_extraction.outputs.version_raw }}" - - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 - with: - image: harbor.cryptic.systems/docker/tonistiigi/binfmt:latest - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: git.cryptic.systems username: ${{ github.repository_owner }} password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} + - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 + with: + registry: harbor.cryptic.systems + username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }} + password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }} + + - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 + with: + image: harbor.cryptic.systems/docker/tonistiigi/binfmt:latest + - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 + - name: Build and push image run: | docker buildx build \ @@ -74,17 +80,23 @@ jobs: fetch-tags: true ref: "${{ steps.version_extraction.outputs.version_raw }}" - - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 - with: - image: harbor.cryptic.systems/docker/tonistiigi/binfmt:latest - - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 - - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 with: registry: git.cryptic.systems username: ${{ github.repository_owner }} password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} + - uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 + with: + registry: harbor.cryptic.systems + username: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_USERNAME }} + password: ${{ secrets.HARBOR_CRYPTIC_SYSTEMS_PASSWORD }} + + - uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0 + with: + image: harbor.cryptic.systems/docker/tonistiigi/binfmt:latest + - uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0 + - name: Build and push image run: | docker buildx build \