مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-22 07:38:18 +00:00
build(gha): allow releases to be made
هذا الالتزام موجود في:
36
.github/workflows/ci.yml
مباع
36
.github/workflows/ci.yml
مباع
@@ -40,20 +40,26 @@ jobs:
|
|||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
run: make docker-release
|
run: make docker-release
|
||||||
|
|
||||||
# build-release:
|
build-release:
|
||||||
# runs-on: self-hosted
|
runs-on: ubuntu-20.04
|
||||||
# needs: [test]
|
needs: [test]
|
||||||
# if: contains(github.ref, 'refs/tags/')
|
if: contains(github.ref, 'refs/tags/')
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# with:
|
with:
|
||||||
# fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Parse git ref
|
||||||
|
run: |
|
||||||
|
echo "DOCKER_TAG_NAME=$(basename $GITHUB_REF)" >> $GITHUB_ENV
|
||||||
|
|
||||||
# - name: Parse git ref
|
- name: Log in to the Container registry
|
||||||
# run: |
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
# echo "DOCKER_TAG_VERSION=$(basename $GITHUB_REF)" >> $GITHUB_ENV
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# - name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
# run: make docker-release
|
run: make docker-release
|
||||||
# env:
|
env:
|
||||||
# DOCKER_TAG_NAME: "latest"
|
DOCKER_TAG_NAME: "latest"
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم