Merge pull request #314 from serokell/int-index/xrefcheck-0.3.1 #2
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
# SPDX-FileCopyrightText: 2023 Serokell <https://serokell.io/> | |
# | |
# SPDX-License-Identifier: MPL-2.0 | |
name: dockerhub-release | |
on: | |
push: | |
tags: | |
- v[0-9]+.* | |
jobs: | |
dockerhub-release: | |
runs-on: [self-hosted, nix] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Push release image to dockerhub | |
run: | | |
export DOCKERHUB_PASSWORD=${{ env.DOCKERHUB_PASSWORD }} | |
nix build .#docker-image | |
nix shell .#skopeo -c ./scripts/upload-docker-image.sh "docker-archive:$(readlink result)" "docker://docker.io/serokell/xrefcheck:${{ github.ref_name }}" |