Skip to content

Commit

Permalink
Moved base image build to staging so its done there and not in produc…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Maelstromeous committed Mar 8, 2022
1 parent dc2d872 commit b05f342
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push base image
uses: docker/build-push-action@v2.9.0
with:
context: provisioning/base
file: provisioning/base/Dockerfile
platforms: linux/amd64
push: true
no-cache: true
tags: maelstromeous/applications:ps2alerts-aggregator-base
# - name: Build and push base image
# uses: docker/build-push-action@v2.9.0
# with:
# context: provisioning/base
# file: provisioning/base/Dockerfile
# platforms: linux/amd64
# push: true
# no-cache: true
# tags: maelstromeous/applications:ps2alerts-aggregator-base

- name: Build and push production image
uses: docker/build-push-action@v2.9.0
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# - name: Build and push base image
# uses: docker/build-push-action@v2.9.0
# with:
# context: provisioning/base
# file: provisioning/base/Dockerfile
# platforms: linux/amd64
# push: true
# no-cache: true
# tags: maelstromeous/applications:ps2alerts-aggregator-base
- name: Build and push base image
uses: docker/build-push-action@v2.9.0
with:
context: provisioning/base
file: provisioning/base/Dockerfile
platforms: linux/amd64
push: true
no-cache: true
tags: maelstromeous/applications:ps2alerts-aggregator-base

- name: Build and push staging image
uses: docker/build-push-action@v2.9.0
Expand Down

0 comments on commit b05f342

Please sign in to comment.