Skip to content

Commit

Permalink
Update image build
Browse files Browse the repository at this point in the history
  • Loading branch information
Incede committed Jan 20, 2025
1 parent ecf947f commit ec8b3ff
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- master
- LISK-1400-Setup-Dshackle
env:
ECS_TASK_DEFINITION: task-definition.json

jobs:
docker:
Expand Down Expand Up @@ -34,13 +36,16 @@ jobs:
id: docker-image
run: |
echo "image=${{ steps.login-ecr.outputs.registry }}/${{ secrets.ECR_REPOSITORY }}" >> $GITHUB_OUTPUT
- name: Build docker image
run: make jib-docker

- name: Build and push the image
uses: docker/build-push-action@v6
id: docker-build
with:
context: ./
file: ./Dockerfile
context: .
push: true
tags: |
${{ steps.docker-image.outputs.image }}:latest
${{ steps.docker-image.outputs.image }}:${{ github.sha }}

0 comments on commit ec8b3ff

Please sign in to comment.