[DATALAD RUNCMD] run codespell throughout fixing typos automagically #46
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: 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}" |