-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #582 from frontendnetwork/staging
Deployment
- Loading branch information
Showing
3 changed files
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,15 +31,15 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b | ||
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@62339db73c56dd749060f65a6ebb93a6e056b755 | ||
uses: docker/metadata-action@9dc751fe249ad99385a2583ee0d084c400eee04e | ||
with: | ||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
|
||
|
@@ -48,7 +48,7 @@ jobs: | |
|
||
- name: Build and push Docker image | ||
id: build-prod | ||
uses: docker/build-push-action@fdf7f43ecf7c1a5c7afe936410233728a8c2d9c2 | ||
uses: docker/build-push-action@9f6f8c940b91232557f8699b21341a08624a8dce | ||
with: | ||
context: . | ||
push: true | ||
|
@@ -62,7 +62,7 @@ jobs: | |
|
||
steps: | ||
- name: SSH into the server and run Docker Compose | ||
uses: appleboy/[email protected].1 | ||
uses: appleboy/[email protected].2 | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USERNAME }} | ||
|
@@ -89,15 +89,15 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@1f401f745bf57e30b3a2800ad308a87d2ebdf14b | ||
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@62339db73c56dd749060f65a6ebb93a6e056b755 | ||
uses: docker/metadata-action@9dc751fe249ad99385a2583ee0d084c400eee04e | ||
with: | ||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | ||
|
||
|
@@ -109,7 +109,7 @@ jobs: | |
|
||
- name: Build and push Docker image | ||
id: build-staging | ||
uses: docker/build-push-action@fdf7f43ecf7c1a5c7afe936410233728a8c2d9c2 | ||
uses: docker/build-push-action@9f6f8c940b91232557f8699b21341a08624a8dce | ||
with: | ||
context: . | ||
push: true | ||
|
@@ -123,7 +123,7 @@ jobs: | |
|
||
steps: | ||
- name: SSH into the server and run Docker Compose | ||
uses: appleboy/[email protected].1 | ||
uses: appleboy/[email protected].2 | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USERNAME }} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters