Commit 66865e6f authored by Clemens Lange's avatar Clemens Lange
Browse files

Also Build CVMFS SLC6 container and pass environment to docker build command

parent fb8d086e
......@@ -27,7 +27,7 @@ jobs:
VCS_REF: ${{ github.event.head_commit.id }}
VERSION: ${{ github.event.repository.pushed_at }}
with:
args: build -t slc6-cms ./slc6-cms
args: build -t slc6-cms -e BUILD_DATE -e VCS_URL -e VCS_REF -e VERSION ./slc6-cms
- name: Docker Tag SLC6 CMS
uses: actions/docker/tag@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
env:
......@@ -46,25 +46,30 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
with:
args: push ${DOCKER_USERNAME}/slc6-cms:latest
# - name: Build SLC6 CVMFS
# uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
# with:
# args: build -t slc6-cvmfs ./slc6-cvmfs
# - name: Docker Tag SLC6 CVMFS
# uses: actions/docker/tag@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
# env:
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
# with:
# args: slc6-cvmfs ${DOCKER_USERNAME}/slc6-cvmfs
# - name: Docker Push SHA SLC6 CVMFS
# uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
# env:
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
# with:
# args: push ${DOCKER_USERNAME}/slc6-cvmfs:${IMAGE_SHA}
# - name: Docker Push latest SLC6 CVMFS
# uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
# env:
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
# with:
# args: push ${DOCKER_USERNAME}/slc6-cvmfs:latest
\ No newline at end of file
- name: Build SLC6 CVMFS
uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
env:
BUILD_DATE: ${{ github.event.head_commit.timestamp }}
VCS_URL: ${{ github.repositoryUrl }}
VCS_REF: ${{ github.event.head_commit.id }}
VERSION: ${{ github.event.repository.pushed_at }}
with:
args: build -t slc6-cvmfs -e BUILD_DATE -e VCS_URL -e VCS_REF -e VERSION ./slc6-cvmfs
- name: Docker Tag SLC6 CVMFS
uses: actions/docker/tag@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
with:
args: slc6-cvmfs ${DOCKER_USERNAME}/slc6-cvmfs
- name: Docker Push SHA SLC6 CVMFS
uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
with:
args: push ${DOCKER_USERNAME}/slc6-cvmfs:${IMAGE_SHA}
- name: Docker Push latest SLC6 CVMFS
uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
with:
args: push ${DOCKER_USERNAME}/slc6-cvmfs:latest
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment