Skip to content

Commit

Permalink
fix: avoid rebuild container images
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangda committed Oct 21, 2023
1 parent 6efcec6 commit 534f785
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
GIT_VERSION=${{ github.ref_name }} make container-publish-github
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@master
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_TO_ASSUME }}
role-session-name: publish-ecr-public-images
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ container-build: build-dist ## Build the container image

##@ container-publish-docker
.PHONY: container-publish-docker
container-publish-docker: container-build ## Publish the container image to docker hub
container-publish-docker: ## Publish the container image to docker hub
@printf "👉 Publishing container image to docker hub...\n"
$(foreach OS, $(CONTAINER_OS), \
$(foreach ARCH, $(CONTAINER_ARCH), \
Expand Down Expand Up @@ -273,7 +273,7 @@ container-publish-docker: container-build ## Publish the container image to dock

##@ container-publish-github
.PHONY: container-publish-github
container-publish-github: container-build ## Publish the container image to github container registry
container-publish-github: ## Publish the container image to github container registry
@printf "👉 Publishing container image to github container registry...\n"
$(foreach OS, $(CONTAINER_OS), \
$(foreach ARCH, $(CONTAINER_ARCH), \
Expand Down Expand Up @@ -309,7 +309,7 @@ container-publish-github: container-build ## Publish the container image to gith

##@ container-publish-aws-ecr
.PHONY: container-publish-aws-ecr
container-publish-aws-ecr: container-build ## Publish the container image to AWS ECR
container-publish-aws-ecr: ## Publish the container image to AWS ECR
@printf "👉 Publishing container image to AWS ECR...\n"
$(foreach OS, $(CONTAINER_OS), \
$(foreach ARCH, $(CONTAINER_ARCH), \
Expand Down

0 comments on commit 534f785

Please sign in to comment.