Update .github/workflows/build.yml
All checks were successful
Testing / test (1.23.x, ubuntu-latest) (push) Successful in 1m9s
All checks were successful
Testing / test (1.23.x, ubuntu-latest) (push) Successful in 1m9s
This commit is contained in:
58
.github/workflows/build.yml
vendored
58
.github/workflows/build.yml
vendored
@ -2,12 +2,12 @@ name: Build and Push Docker Image
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [develop]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
- '.github/**'
|
- '.github/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [develop]
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
- '.github/**'
|
- '.github/**'
|
||||||
@ -30,34 +30,34 @@ jobs:
|
|||||||
echo ${{steps.version_step.outputs.version_tag}}
|
echo ${{steps.version_step.outputs.version_tag}}
|
||||||
echo ${{steps.version_step.outputs.latest_tag}}
|
echo ${{steps.version_step.outputs.latest_tag}}
|
||||||
|
|
||||||
# - name: Set up QEMU
|
- name: Set up QEMU
|
||||||
# uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
# - name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
# uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
# - name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
# uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
# with:
|
with:
|
||||||
# registry: docker.savin.nyc
|
registry: docker.savin.nyc
|
||||||
# username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
# password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
# - name: PrepareReg Names
|
- name: PrepareReg Names
|
||||||
# id: read-docker-image-identifiers
|
id: read-docker-image-identifiers
|
||||||
# run: |
|
run: |
|
||||||
# echo VERSION_TAG=$(echo ${{ steps.version_step.outputs.version_tag }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
echo VERSION_TAG=$(echo ${{ steps.version_step.outputs.version_tag }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||||
# echo LASTEST_TAG=$(echo ${{ steps.version_step.outputs.latest_tag }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
echo LASTEST_TAG=$(echo ${{ steps.version_step.outputs.latest_tag }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
|
||||||
|
|
||||||
# - name: Build and push
|
- name: Build and push
|
||||||
# id: docker_build
|
id: docker_build
|
||||||
# uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
# with:
|
with:
|
||||||
# push: true
|
push: true
|
||||||
# tags: |
|
tags: |
|
||||||
# ${{env.VERSION_TAG}}
|
${{env.VERSION_TAG}}
|
||||||
# ${{env.LASTEST_TAG}}
|
${{env.LASTEST_TAG}}
|
||||||
# build-args: |
|
build-args: |
|
||||||
# ${{steps.version_step.outputs.version}}
|
${{steps.version_step.outputs.version}}
|
||||||
# registry.akaiv.io/${{ github.event.repository.name }}:latest
|
registry.akaiv.io/${{ github.event.repository.name }}:latest
|
||||||
# registry.akaiv.io/${{ github.event.repository.name }}:${{ env.RELEASE_VERSION }}
|
registry.akaiv.io/${{ github.event.repository.name }}:${{ env.RELEASE_VERSION }}
|
||||||
|
Reference in New Issue
Block a user