mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-21 14:49:33 +02:00
removal of release iamge building
This commit is contained in:
parent
16c8b304d3
commit
9c6ed0849e
1 changed files with 0 additions and 51 deletions
51
.github/workflows/build_image.yml
vendored
51
.github/workflows/build_image.yml
vendored
|
@ -1,51 +0,0 @@
|
||||||
name: build and push image
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "v*.*.*"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set image tag
|
|
||||||
run: |
|
|
||||||
LATEST_GIT_TAG=$(git describe --tags --abbrev=0)
|
|
||||||
echo "TAG=ghcr.io/internetee/epp_proxy:$LATEST_GIT_TAG" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Set config
|
|
||||||
env:
|
|
||||||
SYSCONF: ${{ secrets.SYSCONF }}
|
|
||||||
run: |
|
|
||||||
echo $SYSCONF | base64 -di > config/sys.config
|
|
||||||
|
|
||||||
- name: Build image
|
|
||||||
env:
|
|
||||||
KEY_BASE: ${{ secrets.KEY_BASE}}
|
|
||||||
run: |
|
|
||||||
docker build -t $TAG -f Dockerfile.generic .
|
|
||||||
|
|
||||||
- name: Push image to gh container registry
|
|
||||||
env:
|
|
||||||
PASSWORD: ${{ secrets.GHCR }}
|
|
||||||
run: |
|
|
||||||
echo $PASSWORD | docker login ghcr.io -u eisbot --password-stdin
|
|
||||||
docker push $TAG
|
|
||||||
|
|
||||||
- name: Notify developers
|
|
||||||
timeout-minutes: 1
|
|
||||||
env:
|
|
||||||
NOTIFICATION_URL: ${{ secrets.NOTIFICATION_URL}}
|
|
||||||
run: |
|
|
||||||
curl -i -X POST --data-urlencode 'payload={
|
|
||||||
"text": "##### Build of epp proxy image has been succesful :tada:\n
|
|
||||||
Run: docker pull '$TAG'
|
|
||||||
"
|
|
||||||
}' $NOTIFICATION_URL
|
|
Loading…
Add table
Add a link
Reference in a new issue