Skip to content

Commit

Permalink
Set AWS_REGION, push Inflator image without building
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed May 21, 2024
1 parent 703aeb6 commit f2daeac
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f2daeac

Please sign in to comment.