Skip to content

[DATALAD RUNCMD] run codespell throughout fixing typos automagically #46

[DATALAD RUNCMD] run codespell throughout fixing typos automagically

[DATALAD RUNCMD] run codespell throughout fixing typos automagically #46

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
docker-deploy:
runs-on: ubuntu-latest
env:
CONTAINER: quay.io/con/tributors
steps:
- uses: actions/checkout@v3
- name: Build Docker Image
run: docker build -t "${CONTAINER}" .
- name: Log In to Quay.io
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login quay.io -u ${{ secrets.DOCKER_USER }} --password-stdin
- name: Tag and Push images
run: |
DOCKER_TAG=$(docker run --entrypoint tributors "${CONTAINER}:latest" --version)
echo "Docker tag is: ${DOCKER_TAG}"
docker tag "${CONTAINER}:latest" "${CONTAINER}:${DOCKER_TAG}"
docker push "${CONTAINER}:latest"
docker push "${CONTAINER}:${DOCKER_TAG}"