CI: build & publish Docker image 💚
This commit is contained in:
parent
3fe7151017
commit
d04dd1622c
2 changed files with 24 additions and 1 deletions
24
.github/workflows/docker-image.yml
vendored
Normal file
24
.github/workflows/docker-image.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: build & publish Docker image
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 5
|
||||
jobs:
|
||||
build-and-publish:
|
||||
name: build & publish Docker image
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: check out the repo
|
||||
uses: actions/checkout@v2
|
||||
- name: log in to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
|
||||
- name: build Docker image & push to Docker Hub
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
tags: |
|
||||
derhuerst/db-rest:5
|
||||
derhuerst/db-rest:latest
|
|
@ -7,7 +7,6 @@
|
|||

|
||||
|
||||
[](https://stats.uptimerobot.com/57wNLs39M/784879516)
|
||||
[](https://hub.docker.com/r/derhuerst/db-rest/)
|
||||
[](https://david-dm.org/derhuerst/db-rest)
|
||||

|
||||
[](https://github.com/sponsors/derhuerst)
|
||||
|
|
Loading…
Reference in a new issue