Add publish action for release tag #25
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
name: Builds CMS AOD images | |
# These actions need some more work. It would be good to parameterize | |
# the CMS Base version, and to have a way to build the | |
# images to specific versions | |
on: | |
push: | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- 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: Build and push | |
uses: docker/build-push-action@v3 | |
with: | |
context: CMS_AOD | |
push: ${{ github.ref == 'refs/heads/main' }} | |
tags: sslhep/servicex_func_adl_cms_aod_transformer:cmssw-5-3-32 | |
platforms: linux/amd64 |