Skip to content

Commit

Permalink
will it build?
Browse files Browse the repository at this point in the history
  • Loading branch information
kreynoldsf5 committed Apr 10, 2024
1 parent 362a92d commit d273c18
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml → .github/workflows/base-ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
name: ci
name: base-ci

on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- base/**
tags:
- 'v*'
pull_request:
branches:
- 'main'
paths:
- base/**
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: orijen-udf-base
CONTEXT: base
jobs:
docker:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,7 +52,7 @@ jobs:
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
context: "{{defaultContext}}:${{env.CONTEXT}}"
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions orijen-udf-base-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ sudo systemctl enable docker
sudo systemctl start docker

# Variable Declarations
IMAGE=ghcr.io/kreynoldsf5/orijen-udf-service:latest
SERVICE=orijen-udf.service
CONTAINER=orijen-udf
IMAGE=ghcr.io/f5devcentral/orijen-udf-services:latest
SERVICE=orijen-udf-base.service
CONTAINER=orijen-udf-base

# Create the systemd service file
sudo bash -c "cat > /etc/systemd/system/$SERVICE <<EOF
Expand Down

0 comments on commit d273c18

Please sign in to comment.