Skip to content

Commit 730dcdd

Browse files
committed
Update docker images from push on main
1 parent eac02fd commit 730dcdd

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish Docker image
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
push_to_registry:
10+
name: Push Docker image to Docker Hub
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Check out the repo
14+
uses: actions/checkout@v5
15+
16+
- name: Log in to Docker Hub
17+
uses: docker/login-action@v3
18+
with:
19+
username: ${{ secrets.DOCKER_USERNAME }}
20+
password: ${{ secrets.DOCKER_PASSWORD }}
21+
22+
- name: Set up Docker Buildx
23+
uses: docker/setup-buildx-action@v3
24+
25+
- name: Build and push
26+
id: push
27+
uses: docker/build-push-action@v6
28+
with:
29+
context: ./Runner
30+
push: true
31+
tags: mihazupan/runtime-utils:runner

Runner/Runner.slnx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<Solution>
22
<Folder Name="/Solution Items/">
3+
<File Path="../.github/workflows/publish-docker.yml" />
34
<File Path="../.github/workflows/run-script.yml" />
45
<File Path="../azure-pipelines.yml" />
56
</Folder>

0 commit comments

Comments
 (0)