Skip to content

Commit

Permalink
Fix dockerfile for sitekit (#4016)
Browse files Browse the repository at this point in the history
  • Loading branch information
humandad committed Jun 17, 2024
1 parent f4513f8 commit 2440f9c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
!libs/apps/uesio/core
!libs/apps/uesio/io
!libs/apps/uesio/studio
!libs/apps/uesio/sitekit
!dist/ui
!dist/vendor
!dist/vendor
6 changes: 3 additions & 3 deletions .github/workflows/master_branch_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
aws-region: ${{ secrets.AWS_REGION_DEV }}
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1.6.0
uses: aws-actions/amazon-ecr-login@v2
- name: Use Go
uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
echo "APP_IMAGE=`echo ${GITSHA}`" >> $GITHUB_ENV
docker push $IMAGE_TAG
- name: Upload image id
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: image-artifacts
path: |
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your personal Github access token
fetch-depth: 1
- name: Download image id artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: image-artifacts
- name: Load new image into env var
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
aws-region: ${{ secrets.AWS_REGION_DEV }}
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1.6.0
uses: aws-actions/amazon-ecr-login@v2
- name: Pull the latest Docker image from ECR
shell: bash
env:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o $outputPath
cd ../..
- name: Upload binary artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binaries
path: |
Expand All @@ -121,7 +121,7 @@ jobs:
- cli_release_artifacts
steps:
- name: Download binary artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: binaries
path: binaries
Expand Down

0 comments on commit 2440f9c

Please sign in to comment.