You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
615 B
24 lines
615 B
name: Docker Image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
# Build only the master branch
|
|
- 'master'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out the repo
|
|
uses: actions/checkout@v1
|
|
- name: Run tox
|
|
uses: tox-dev/gh-action-tox@master
|
|
- name: Build and push the Docker image
|
|
run: ./build.sh
|
|
env:
|
|
DOCKER_HUB_USERNAME: starcraft66
|
|
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_TOKEN }}
|
|
DOCKER_GH_REGISTRY_URL: "docker.pkg.github.com"
|
|
DOCKER_GH_USERNAME: starcraft66
|
|
DOCKER_GH_PASSWORD: ${{ secrets.GITHUB_TOKEN_OWNED }}
|
|
|