Skip to content

Merge pull request #314 from serokell/int-index/xrefcheck-0.3.1 #2

Merge pull request #314 from serokell/int-index/xrefcheck-0.3.1

Merge pull request #314 from serokell/int-index/xrefcheck-0.3.1 #2

# 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 }}"