Skip to content

Commit

Permalink
Build rucio client with commit tag same as image tag instead of latest
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Chauhan <[email protected]>
  • Loading branch information
dynamic-entropy committed Jun 24, 2024
1 parent 172429a commit 1a62e37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rucio-release-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

- name: Build the Docker Image
run: |
buildah build --build-arg RUCIO_VERSION=${{ env.rucio_version }} --file docker/${{ matrix.image }}/Dockerfile --tag registry.cern.ch/${{ vars.HARBOR_REPOSITORY }}/${{ matrix.image }}:${{ env.tag }} .
buildah build --build-arg RUCIO_VERSION=${{ env.rucio_version }} --build-arg CMSRUCIO_GITTAG=${{ env.tag }} --file docker/${{ matrix.image }}/Dockerfile --tag registry.cern.ch/${{ vars.HARBOR_REPOSITORY }}/${{ matrix.image }}:${{ env.tag }} .
- name: Push the Docker Image
run: |
Expand Down
2 changes: 2 additions & 0 deletions docker/rucio_client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM almalinux:9

ARG RUCIO_VERSION
ARG CMSRUCIO_GITTAG

RUN dnf upgrade -y && \
dnf clean all && \
Expand Down Expand Up @@ -58,6 +59,7 @@ RUN git clone https://github.com/rucio/rucio.git
# Pull some useful stuff out of git
WORKDIR /root
RUN git clone https://github.com/dmwm/CMSRucio.git
RUN cd CMSRucio && git checkout $CMSRUCIO_GITTAG

RUN mkdir -p /etc/grid-security ; ln -s /cvmfs/grid.cern.ch/etc/grid-security/certificates /etc/grid-security/

Expand Down

0 comments on commit 1a62e37

Please sign in to comment.