Skip to content

Commit

Permalink
updating GitHub Actions 🐊
Browse files Browse the repository at this point in the history
  • Loading branch information
dysbulic committed Nov 5, 2023
1 parent 257d70c commit 04241a3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/gcp-deploy-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,23 +117,18 @@ jobs:
needs: [env]

steps:
- name: "Checkout: ${{github.ref_name}}"
uses: actions/checkout@v2
with:
ref: ${{github.event.after}}

- name: Set Up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: "Login to Registry: ${{needs.env.outputs.DOCKER_REGISTRY}}"
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{needs.env.outputs.DOCKER_REGISTRY}}
username: _json_key
password: ${{secrets.GCP_SA_KEY}}

- name: "Build & Push Container Image: ${{needs.env.outputs.FRONTEND_TAG}}"
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
file: docker/frontend/Dockerfile
tags: ${{needs.env.outputs.FRONTEND_TAG}}
Expand Down

0 comments on commit 04241a3

Please sign in to comment.