Change runs-on, use action to build docker image.
Explore-GitHub-Actions
build

This commit is contained in:
2023-03-22 18:56:20 -04:00
parent a95fca40f9
commit 7647c355af
+10 -6
View File
@@ -5,12 +5,16 @@ on:
branches: [develop]
jobs:
build_develop:
runs-on: docker:dind
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- run: docker build -t viker.cheezers.net:5000/agon:develop .
- run: docker push viker.cheezers.net:5000/agon:develop
- name: Build and push to viker registry
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: viker.cheezers.net:5000/agon:develop