Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit c8d6ed0

Browse files
Opt to tagging to avoid crap from happening.
1 parent 15f4690 commit c8d6ed0

File tree

2 files changed

+53
-3
lines changed

2 files changed

+53
-3
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
name: Publish Naev Linux Docker Images
2-
on: [push]
1+
name: Publish Naev Build/Dev Docker Images
2+
on:
3+
push:
4+
tags:
5+
- "v*.*.*"
36

47
jobs:
5-
"Build_Ubuntu":
8+
"Build_Publish_Images":
69
strategy:
710
fail-fast: true
811
matrix:

.github/workflows/test_docker.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Publish Naev Build/Dev Docker Images
2+
on: [push]
3+
4+
jobs:
5+
"Build_Ubuntu":
6+
strategy:
7+
fail-fast: true
8+
matrix:
9+
include:
10+
- os: ubuntu-latest
11+
dockerfile: "naev/naev-ubuntu1604"
12+
tagname: naev-ubuntu1604
13+
- os: ubuntu-latest
14+
dockerfile: "naev/naev-ubuntu2004"
15+
tagname: naev-ubuntu2004
16+
- os: ubuntu-latest
17+
dockerfile: "naev/naev-steamruntime"
18+
tagname: naev-steamruntime
19+
- os: ubuntu-latest
20+
dockerfile: "naev/naev-windows"
21+
tagname: naev-windows
22+
23+
runs-on: ${{ matrix.os }}
24+
25+
steps:
26+
-
27+
name: Checkout Repository
28+
uses: actions/checkout@master
29+
-
30+
name: Set up QEMU
31+
uses: docker/setup-qemu-action@v1
32+
-
33+
name: Set up Docker Buildx
34+
uses: docker/setup-buildx-action@v1
35+
-
36+
name: Copy Gemfile to context
37+
run: |
38+
cp naev/Gemfile ${{ matrix.dockerfile }}
39+
-
40+
name: Build and push
41+
id: docker_build
42+
uses: docker/build-push-action@v2
43+
with:
44+
context: ${{ matrix.dockerfile }}
45+
file: ${{ matrix.dockerfile }}/Dockerfile
46+
push: false
47+
tags: projectsynchro/synchros_sexy_docker_images:${{ matrix.tagname }}

0 commit comments

Comments
 (0)