Skip to content
Snippets Groups Projects
Commit 30c2a01c authored by Miroslav Kratochvil's avatar Miroslav Kratochvil :bicyclist:
Browse files

setup docker.io with docker actions

parent 0f5c71db
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,24 @@ jobs:
- name: Check out the repo of ${{ github.repository }}
uses: actions/checkout@v2
- name: Build and publish ${{ env.DOCKER_IMAGE_NAME }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: lcsbbiocore
password: ${{ secrets.DOCKER_IO_ACCESS_TOKEN }}
- name: Build and push to DockerHub
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: lcsbbiocore/cobrexa.jl:latest
- name: Build and push to GHCR
uses: macbre/push-to-ghcr@master
with:
image_name: ${{ env.DOCKER_IMAGE_NAME }}
github_token: ${{ secrets.GITHUB_TOKEN }}
docker_io_token: ${{ secrets.DOCKER_IO_ACCESS_TOKEN }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment