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: updating checkout github action #15

Merged
merged 14 commits into from
May 7, 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
Prev Previous commit
Next Next commit
FIX: updating checkout github action for latest container
  • Loading branch information
miguelcarcamov committed May 7, 2024
commit bcfb6bc65a968ca77e71b698285facc05a8c2125
2 changes: 1 addition & 1 deletion .github/workflows/build_latest_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
push: true # Will only build if this is not here
tags: ${{ env.REGISTRY }}/${{ github.repository }}:latest
secrets: |
"BRANCH_NAME=${{ github.ref_name }}"
"BRANCH_NAME=${{ github.head_ref || github.ref_name }}"
2 changes: 1 addition & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN --mount=type=secret,id=BRANCH_NAME \
export BRANCH_NAME=$(cat /run/secrets/BRANCH_NAME) &&\
echo $BRANCH_NAME

RUN git clone -b $BRANCH_NAME https://github.com/miguelcarcamov/gpuvmem.git
RUN git clone -b ${BRANCH_NAME} https://github.com/miguelcarcamov/gpuvmem.git
RUN cd gpuvmem
RUN cmake . -B $BUILD_DIR -DCMAKE_BUILD_TYPE=$CONFIG && \
cd $BUILD_DIR && \
Expand Down
Loading