Skip to content

hostkey checking

hostkey checking #31

Workflow file for this run

name: Publish Docker Images
on:
push:
branches:
- master
tags:
- v*
jobs:
publish-voms-atlas:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and Publish to Registry
if: "!(startsWith(github.ref, 'refs/tags/'))"
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kratsg/voms-atlas
dockerfile: voms-atlas/Dockerfile
path: voms-atlas
tags: latest
- name: Build and Publish to Registry with Release Tag
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kratsg/voms-atlas
dockerfile: voms-atlas/Dockerfile
path: voms-atlas
tags: latest,latest-stable
tag_with_ref: true
publish-eos-krb5:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and Publish to Registry
if: "!(startsWith(github.ref, 'refs/tags/'))"
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kratsg/eos-krb5
dockerfile: eos-krb5/Dockerfile
path: eos-krb5
tags: latest
- name: Build and Publish to Registry with Release Tag
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kratsg/eos-krb5
dockerfile: eos-krb5/Dockerfile
path: eos-krb5
tags: latest,latest-stable
tag_with_ref: true
publish-eos-krb5-shell2http:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build and Publish to Registry
if: "!(startsWith(github.ref, 'refs/tags/'))"
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kratsg/eos-krb5-shell2http
dockerfile: eos-krb5-shell2http/Dockerfile
path: eos-krb5-shell2http
tags: latest
- name: Build and Publish to Registry with Release Tag
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kratsg/eos-krb5-shell2http
dockerfile: eos-krb5-shell2http/Dockerfile
path: eos-krb5-shell2http
tags: latest,latest-stable
tag_with_ref: true
publish-cern-phonebook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to CERN GitLab
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GITLAB_SSH_KEY }}
- name: Clone pyphonebook
run: |
git -c core.sshCommand='ssh -o StrictHostKeyChecking=accept-new' clone --depth 1 --branch v2.1.5-1 ssh://[email protected]:7999/linuxsupport/rpms/pyphonebook.git cern-phonebook/pyphonebook
make -C pyphonebook setversion
- name: Build and Publish to Registry
if: "!(startsWith(github.ref, 'refs/tags/'))"
uses: docker/build-push-action@v4
with:
dockerfile: cern-phonebook/Dockerfile
context: cern-phonebook
push: true
tags: |
kratsg/cern-phonebook:latest
ghcr.io/kratsg/cern-phonebook:latest
- name: Build and Publish to Registry with Release Tag
if: startsWith(github.ref, 'refs/tags/')
uses: docker/build-push-action@v4
with:
dockerfile: cern-phonebook/Dockerfile
context: cern-phonebook
push: true
tags: |
kratsg/cern-phonebook:latest
kratsg/cern-phonebook:latest-stable
ghcr.io/kratsg/cern-phonebook:latest
ghcr.io/kratsg/cern-phonebook:latest-stable
tag_with_ref: true