Skip to content

Commit

Permalink
Merge pull request #12 from tranphuocloc070699/office
Browse files Browse the repository at this point in the history
test change dockerrun
  • Loading branch information
tranphuocloc070699 committed Jul 28, 2023
2 parents 0c22ff3 + 488054c commit 994ddcf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/backend-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
run: mvn -ntp -B verify -Ddocker.image.tag=${{steps.build-number.outputs.BUILD_NUMBER}} jib:build
- name: Update Dockerrun.aws.json image tag with new build number
run: |
sed -i -E 's_(loctran070699/blog-api:)([^"]*)_\1'${{steps.build-number.outputs.BUILD_NUMBER}}'_' Dockerrun.aws.json
cat Dockerrun.aws.json
sed -i -E 's_(loctran070699/blog-api:)([^"]*)_\1'${{steps.build-number.outputs.BUILD_NUMBER}}'_' ../Dockerrun.aws.json
cat ../Dockerrun.aws.json
- name: Deploy to EB
uses: einaregilsson/beanstalk-deploy@v21
Expand All @@ -73,7 +73,7 @@ jobs:
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git add ../Dockerrun.aws.json
git commit -m "Update Dockerrun.aws.json docker image with new tag ${{steps.build-number.outputs.BUILD_NUMBER}}"
git push
Expand Down
Empty file.
2 changes: 1 addition & 1 deletion server/Dockerrun.aws.json → Dockerrun.aws.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"containerDefinitions": [
{
"name": "blog-api",
"image": "loctran070699/blog-api:28.07.2023.01.30.10",
"image": "loctran070699/blog-api:26.07.2023.09.16",
"essential": true,
"memory": 512,
"portMappings": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class ServerApplication {
public static void main(String[] args) {

SpringApplication.run(ServerApplication.class, args);
System.out.println("hello 12345567");
String a = "a";
}

}

0 comments on commit 994ddcf

Please sign in to comment.