ci: remove migrate job from workflow
This commit is contained in:
parent
ec4ffd4c69
commit
695069f2cc
1 changed files with 0 additions and 31 deletions
|
|
@ -66,34 +66,3 @@ jobs:
|
||||||
-t "$REGISTRY_HOSTPORT/nxtgauge-rust-${{ matrix.service }}:${{ gitea.sha }}" \
|
-t "$REGISTRY_HOSTPORT/nxtgauge-rust-${{ matrix.service }}:${{ gitea.sha }}" \
|
||||||
-t "$REGISTRY_HOSTPORT/nxtgauge-rust-${{ matrix.service }}:high-performance-latest" \
|
-t "$REGISTRY_HOSTPORT/nxtgauge-rust-${{ matrix.service }}:high-performance-latest" \
|
||||||
.
|
.
|
||||||
|
|
||||||
migrate:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
run: |
|
|
||||||
docker buildx create --use || true
|
|
||||||
docker buildx inspect --bootstrap
|
|
||||||
|
|
||||||
- name: Login to Registry
|
|
||||||
env:
|
|
||||||
REGISTRY_HOSTPORT: ${{ secrets.REGISTRY_HOSTPORT }}
|
|
||||||
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
|
||||||
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
|
|
||||||
run: |
|
|
||||||
set -euo pipefail
|
|
||||||
test -n "$REGISTRY_HOSTPORT"
|
|
||||||
echo "$REGISTRY_PASSWORD" | docker login "$REGISTRY_HOSTPORT" -u "$REGISTRY_USERNAME" --password-stdin
|
|
||||||
|
|
||||||
- name: Build and push migrate
|
|
||||||
env:
|
|
||||||
REGISTRY_HOSTPORT: ${{ secrets.REGISTRY_HOSTPORT }}
|
|
||||||
run: |
|
|
||||||
docker buildx build --push \
|
|
||||||
-f Dockerfile.migrate \
|
|
||||||
-t "$REGISTRY_HOSTPORT/nxtgauge-db-migrate:${{ gitea.sha }}" \
|
|
||||||
-t "$REGISTRY_HOSTPORT/nxtgauge-db-migrate:high-performance-latest" \
|
|
||||||
.
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue