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: ...@@ -27,7 +27,7 @@ jobs:
VCS_REF: ${{ github.event.head_commit.id }} VCS_REF: ${{ github.event.head_commit.id }}
VERSION: ${{ github.event.repository.pushed_at }} VERSION: ${{ github.event.repository.pushed_at }}
with: 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 - name: Docker Tag SLC6 CMS
uses: actions/docker/tag@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19 uses: actions/docker/tag@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
env: env:
...@@ -46,25 +46,30 @@ jobs: ...@@ -46,25 +46,30 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
with: with:
args: push ${DOCKER_USERNAME}/slc6-cms:latest args: push ${DOCKER_USERNAME}/slc6-cms:latest
# - name: Build SLC6 CVMFS - name: Build SLC6 CVMFS
# uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19 uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
# with: env:
# args: build -t slc6-cvmfs ./slc6-cvmfs BUILD_DATE: ${{ github.event.head_commit.timestamp }}
# - name: Docker Tag SLC6 CVMFS VCS_URL: ${{ github.repositoryUrl }}
# uses: actions/docker/tag@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19 VCS_REF: ${{ github.event.head_commit.id }}
# env: VERSION: ${{ github.event.repository.pushed_at }}
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} with:
# with: args: build -t slc6-cvmfs -e BUILD_DATE -e VCS_URL -e VCS_REF -e VERSION ./slc6-cvmfs
# args: slc6-cvmfs ${DOCKER_USERNAME}/slc6-cvmfs - name: Docker Tag SLC6 CVMFS
# - name: Docker Push SHA SLC6 CVMFS uses: actions/docker/tag@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
# uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19 env:
# env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} with:
# with: args: slc6-cvmfs ${DOCKER_USERNAME}/slc6-cvmfs
# args: push ${DOCKER_USERNAME}/slc6-cvmfs:${IMAGE_SHA} - name: Docker Push SHA SLC6 CVMFS
# - name: Docker Push latest SLC6 CVMFS uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19
# uses: actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19 env:
# env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
# DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} with:
# with: args: push ${DOCKER_USERNAME}/slc6-cvmfs:${IMAGE_SHA}
# args: push ${DOCKER_USERNAME}/slc6-cvmfs:latest - name: Docker Push latest SLC6 CVMFS
\ No newline at end of file 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