Skip to content

Commit 9c3e3e9

Browse files
committed
Automate docker push
1 parent 8ec2cff commit 9c3e3e9

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Docker
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
7+
jobs:
8+
push:
9+
runs-on: 'ubuntu-20.04'
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Build and Push Docker Images
14+
uses: docker/build-push-action@v1
15+
with:
16+
username: ${{ secrets.DOCKER_USERNAME }}
17+
password: ${{ secrets.DOCKER_PASSWORD }}
18+
repository: revenrof/codingteam.org.ru
19+
tag_with_ref: true

codingteam.org.ru.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ EndProject
2020
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{2CF72807-47DC-483F-A386-5690E16A4350}"
2121
ProjectSection(SolutionItems) = preProject
2222
.github\workflows\main.yml = .github\workflows\main.yml
23+
.github\workflows\docker.yml = .github\workflows\docker.yml
2324
EndProjectSection
2425
EndProject
2526
Global

0 commit comments

Comments
 (0)