0.10.0 #14
Workflow file for this run
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: release | |
on: | |
release: | |
types: [published] | |
env: | |
IMAGE_NAME: condaforge/conda-forge-feedstock-ops | |
concurrency: | |
group: release | |
cancel-in-progress: false | |
jobs: | |
release: | |
name: release | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4 | |
with: | |
fetch-depth: 0 | |
- name: log into dockerhub | |
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3 | |
with: | |
username: condaforgebot | |
password: ${{ secrets.CF_BOT_DH_PASSWORD }} | |
- name: build docker metadata | |
id: meta | |
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5 | |
with: | |
images: ${{ env.IMAGE_NAME }} | |
flavor: | | |
latest=false | |
tags: | | |
type=raw,value=${{ github.ref_name }} | |
type=raw,value=latest | |
- name: build and push image | |
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6 | |
with: | |
context: . | |
push: true | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} | |
- name: push README to docker hub | |
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1 | |
env: | |
DOCKER_USER: condaforgebot | |
DOCKER_PASS: ${{ secrets.CF_BOT_DH_PASSWORD }} | |
with: | |
destination_container_repo: ${{ env.IMAGE_NAME }}:latest | |
provider: dockerhub | |
short_description: "conda-forge image used for containerized feedstock operations" | |
readme_file: "Dockerfile_README.md" |