From f2daeaca375131f326b67fd014463d571f25943e Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Tue, 21 May 2024 00:06:00 -0500 Subject: [PATCH] Set AWS_REGION, push Inflator image without building --- .github/workflows/deploy.yml | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f414e62ad..1fedeca73 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -165,20 +165,13 @@ jobs: - smoke-inflator runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Download repack artifact - uses: actions/download-artifact@v4 - with: - name: Release-repack-unsigned - path: _build/repack/ + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Download Inflator image artifact uses: actions/download-artifact@v4 with: name: inflator-image path: /tmp - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - name: Load Inflator image run: docker load --input /tmp/inflator-image.tar - name: Log in to Docker Hub @@ -187,17 +180,13 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} - name: Push Inflator image to Docker Hub - uses: docker/build-push-action@v5 - with: - file: Dockerfile.netkan - context: _build/repack/Release - tags: kspckan/inflator:latest - push: true + run: docker push kspckan/inflator:latest - name: Redeploy Inflator containers env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: us-west-2 + AWS_REGION: us-west-2 shell: bash run: | docker image pull kspckan/netkan