We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eedbf07 commit e86ce48Copy full SHA for e86ce48
1 file changed
.github/workflows/pr.yml
@@ -0,0 +1,24 @@
1
+name: Build Docker Image
2
+
3
+on:
4
+ workflow_dispatch:
5
+ workflow_call:
6
7
+jobs:
8
+ docker-build:
9
+ name: Build Docker
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v6
14
+ with:
15
+ ref: ${{ github.ref }}
16
17
+ - name: Build, tag, and push the image to Amazon ECR
18
+ id: build-image
19
+ env:
20
+ ECR_REGISTRY: local.test
21
+ ECR_REPOSITORY: 'ssh_bastion'
22
+ IMAGE_TAG: latest
23
+ run: |
24
+ docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:latest .
0 commit comments