mirror of https://github.com/garritfra/garrit.xyz
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.
22 lines
606 B
22 lines
606 B
# TODO: Should push to docker hub |
|
# on: |
|
# push: |
|
# branches: |
|
# - master |
|
name: Build Docker Container |
|
jobs: |
|
deploy: |
|
name: deploy |
|
runs-on: ubuntu-latest |
|
steps: |
|
- uses: actions/checkout@v2 |
|
name: Check out code |
|
|
|
- uses: mr-smithers-excellent/docker-build-push@v5.6 |
|
name: Build & push Docker image |
|
with: |
|
image: garrit.xyz |
|
tags: latest, ${{ github.ref_name }}, ${{ github.sha }} |
|
registry: ${{ secrets.DOCKER_REGISTRY }} |
|
username: ${{ secrets.DOCKER_USERNAME }} |
|
password: ${{ secrets.DOCKER_PASSWORD }} |