Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test containers #945

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/deploy-container-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Prepare commit hash
run: git rev-parse HEAD > commit

- name: Log in to the container registry
uses: docker/login-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import viteTsconfigPaths from "vite-tsconfig-paths";
import preserveDirectives from "rollup-preserve-directives";
import child from "child_process";

const commitHash = child.execSync("git rev-parse HEAD").toString().trim();
const commitHash = child.execSync("giat rev-parse HEAD || cat commit || :").toString().trim();
lkiesow marked this conversation as resolved.
Show resolved Hide resolved

export default defineConfig({
base: process.env.PUBLIC_URL || "",
Expand Down
Loading