Skip to content

Commit 369370b

Browse files
authored
Create build-push-docker-images.yml
lets see if this works... hopefully this doesn't eat up all the storage on the registry server
1 parent 0b956d9 commit 369370b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Docker Image CI
2+
3+
on:
4+
push:
5+
branches: [ "prod" ]
6+
7+
env:
8+
REGISTRY_URL: "${{ secrets.CONTAINER_REGISTRY_URL }}"
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest-arm
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Login to GitHub Package Registry
16+
run: echo "${{ secrets.CONTAINER_REGISTRY_PASSWORD }}" | docker login $REGISTRY_URL -u "${{ secrets.CONTAINER_REGISTRY_USERNAME }}" --password-stdin
17+
- run: docker compose build
18+
- run: docker compose push

0 commit comments

Comments
 (0)