adding actions pipeline
This commit is contained in:
16
.github/workflows/publish.yaml
vendored
Normal file
16
.github/workflows/publish.yaml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: publish images
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
login:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Log into Docker Hub
|
||||||
|
users: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
Reference in New Issue
Block a user