mirror of
https://github.com/InsanusMokrassar/JenkinsDocker.git
synced 2024-11-05 03:03:47 +00:00
Create docker-publish.yml
This commit is contained in:
parent
c0a8da534d
commit
58e50e014d
21
.github/workflows/docker-publish.yml
vendored
Normal file
21
.github/workflows/docker-publish.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Docker
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
publishing:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Log into registry ${{ env.REGISTRY }}
|
||||
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_LOGIN }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Extract Docker metadata
|
||||
run: ./deploy
|
Loading…
Reference in New Issue
Block a user