This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -4,7 +4,7 @@ on:
|
||||
push:
|
||||
|
||||
env:
|
||||
IMAGE_TAG: git.pretecno.com/pretecno/php-fpm-ext:${{ github.ref_name }}
|
||||
IMAGE_TAG: ${{ vars.DOCKERREGISTRY_HOST }}/odoo/odoo:${{ github.ref_name }}
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
@@ -17,9 +17,9 @@ jobs:
|
||||
- name: login to the docker hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.pretecno.com
|
||||
username: ${{ secrets.PRETECNOREGISTRY_USERNAME }}
|
||||
password: ${{ secrets.PRETECNOREGISTRY_PASSWORD }}
|
||||
registry: ${{ vars.DOCKERREGISTRY_HOST }}
|
||||
username: ${{ vars.DOCKERREGISTRY_USERNAME }}
|
||||
password: ${{ secrets.DOCKERREGISTRY_PASSWORD }}
|
||||
- name: build and push docker image
|
||||
uses: docker/build-push-action@v4
|
||||
env:
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
- name: send telegram message
|
||||
uses: https://github.com/appleboy/telegram-action@master
|
||||
with:
|
||||
to: ${{ secrets.TELEGRAM_TO }}
|
||||
to: ${{ vars.TELEGRAM_TO }}
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
message: |
|
||||
[Docker] ${{ env.IMAGE_TAG }} has just been released. 🎉
|
||||
|
||||
Reference in New Issue
Block a user