-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove eos-fuse-mount container. FUSE mount is done differently in the cluster now * update rucio-client Dockerfile with base-ops base layer (based on rucio-clients, rather than rucio-server) * add autobuild repository release workflow - WIP !!!!!! * remove old ci files, update autobuild release file --------- Co-authored-by: Enrique Garcia <[email protected]>
- Loading branch information
1 parent
542524e
commit 8bb4e9d
Showing
17 changed files
with
143 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
name: Docker automatic build and publish with repository releases | ||
|
||
on: | ||
push: | ||
tags: [ 'v*.*.*' ] | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
|
||
jobs: | ||
build-and-push-base-ops: | ||
runs-on: ubuntu-latest | ||
name: Build and push vre-base-ops image | ||
strategy: | ||
matrix: | ||
context: [ | ||
'base-ops' | ||
] | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Docker Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Log in to the GH Container Registry | ||
id: login | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata for ${{ matrix.environments }} | ||
id: metadata | ||
uses: docker/[email protected] | ||
with: | ||
flavor: | | ||
latest=true | ||
tags: | | ||
type=ref,event=tag | ||
# ghcr.io/vre-hub/{vre}-{base-ops}:{tag} | ||
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ github.event.repository.name }}-${{ matrix.environments }} | ||
|
||
- name: Build and push ${{ matrix.environments }} | ||
id: build | ||
uses: docker/[email protected] | ||
with: | ||
context: ./${{ matrix.environments }} | ||
file: ./${{ matrix.environments }}/Dockerfile | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: | | ||
BUILD_DATE=$(date +'%Y-%m-%dT%H:%M:%SZ') | ||
build-and-push-container: | ||
runs-on: ubuntu-latest | ||
name: Build and push vre operation images | ||
strategy: | ||
matrix: | ||
context: [ | ||
'iam-reana-sync', | ||
'iam-rucio-sync', | ||
'rucio-client', | ||
'rucio-noise', | ||
] | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Docker Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get tag | ||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
|
||
- name: Check env output | ||
run: echo "tag" is ${{ env.RELEASE_VERSION }} | ||
|
||
- name: Log in to the GH Container Registry | ||
id: login | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata for ${{ matrix.environments }} | ||
id: metadata | ||
uses: docker/[email protected] | ||
with: | ||
flavor: | | ||
latest=true | ||
tags: | | ||
type=ref,event=tag | ||
# ghcr.io/vre-hub/{vre}-{container_name}:{tag} | ||
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ github.event.repository.name }}-${{ matrix.environments }} | ||
|
||
- name: Build and push ${{ matrix.environments }} | ||
id: build | ||
uses: docker/[email protected] | ||
with: | ||
context: ./${{ matrix.environments }} | ||
file: ./${{ matrix.environments }}/Dockerfile | ||
push: true | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels }} | ||
build-args: | | ||
BUILD_DATE=$(date +'%Y-%m-%dT%H:%M:%SZ') | ||
TAG=${{ env.RELEASE_VERSION }} | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.