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] branches: [develop]
jobs: jobs:
build_develop: build:
runs-on: docker:dind runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - name: Checkout Code
uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- run: git fetch --force --tags - name: Build and push to viker registry
- run: docker build -t viker.cheezers.net:5000/agon:develop . uses: docker/build-push-action@v4
- run: docker push viker.cheezers.net:5000/agon:develop with:
context: .
push: true
tags: viker.cheezers.net:5000/agon:develop