Skip to content

Commit

Permalink
Merge branch 'test' into cd
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmandMeppa authored Feb 28, 2024
2 parents 0e23ee8 + af445b3 commit 4449e51
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

#- name: Docker meta
# id: meta
# uses: docker/metadata-action@v5
# with:
# images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
${{ steps.login-ecr.outputs.registry }}/${{ env.IMAGE_NAME }}
#- name: Build container
# uses: docker/build-push-action@v5
Expand All @@ -59,8 +61,7 @@ jobs:
# tags: ${{ steps.meta.outputs.tags }}
# build-args: |
# USERNAME=${{ github.actor }}
# PAT=${{ secrets.PAT }}

# PAT=${{ secrets.PAT }
- name: upload image to ECR
uses: appleboy/docker-ecr-action@master
with:
Expand All @@ -71,3 +72,4 @@ jobs:
build-args: |
USERNAME=${{ github.actor }}
PAT=${{ secrets.PAT }}

0 comments on commit 4449e51

Please sign in to comment.