Compare commits
2 Commits
aaaed767d4
...
c1c4f92392
Author | SHA1 | Date | |
---|---|---|---|
c1c4f92392 | |||
f0c301edab |
@ -105,7 +105,6 @@ jobs:
|
||||
run: |
|
||||
registry=${{ github.server_url }}
|
||||
echo "registry=${registry##http*://}" >> "$GITHUB_OUTPUT"
|
||||
echo "version=$(cat public/VERISON)"
|
||||
|
||||
- name: Container Registry Login
|
||||
uses: docker/login-action@v2
|
||||
@ -144,8 +143,9 @@ jobs:
|
||||
ls -al public/js/
|
||||
|
||||
- name: Record version and Delete Unnecessary files
|
||||
id: prebuild
|
||||
run: |
|
||||
echo Building [${{ steps.registry.outputs.version }}]
|
||||
echo "version=$(cat public/VERISON)"
|
||||
echo ${GITHUB_SHA::8} > VERSION
|
||||
rm -rf .git* tests/ storage/app/test/
|
||||
ls -al public/css/
|
||||
@ -158,7 +158,7 @@ jobs:
|
||||
file: docker/Dockerfile
|
||||
push: true
|
||||
tags: "${{ steps.registry.outputs.registry }}/${{ env.GITHUB_REPOSITORY }}:${{ env.VERSIONARCH }}"
|
||||
build-args: BUILD_REVISION=${GITHUB_SHA},BUILD_VERSION=${{ steps.registry.outputs.version }}
|
||||
build-args: BUILD_REVISION=${GITHUB_SHA},BUILD_VERSION=${{ steps.prebuild.outputs.version }}
|
||||
|
||||
manifest:
|
||||
name: Final Docker Image Manifest
|
||||
|
Loading…
x
Reference in New Issue
Block a user