Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Push to ssl-hep Dockerhub #3

Merged
merged 2 commits into from
Jan 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 7 additions & 14 deletions .github/workflows/buildpush.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v1.2.0

- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: extract_branch

- name: Build and Push Docker Image
# See https://github.com/marketplace/actions/docker-push
uses: opspresso/action-docker@master
env:
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
IMAGE_NAME: "gordonwatts/servicex_code_gen_funcadl_xaod"
LATEST: FALSE
TAG_NAME: ${{ steps.extract_branch.outputs.branch }}
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: sslhep/servicex_xaod_cpp_transformer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
tag_names: true