This commit is contained in:
parent
c50b4a18a1
commit
fafb96cf08
|
@ -17,11 +17,13 @@ jobs:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Echo Build Version ${{ github.ref_name }}
|
- name: Docker Build and Push to Forgejo Registry
|
||||||
run: echo "Building version ${{ github.ref_name }}"
|
run: docker buildx build --push --build-arg REDMAGE_RUNTIME_VERSION=${{ github.ref_name }} -t git.tigor.web.id/tigor/redmage:${{ github.ref_name }} -t git.tigor.web.id/tigor/redmage:latest .
|
||||||
- name: Docker Build
|
- name: Login to Github Docker Registry
|
||||||
run: docker build --push --build-arg REDMAGE_RUNTIME_VERSION=${{ github.ref_name }} -t git.tigor.web.id/tigor/redmage:${{ github.ref_name }} -t git.tigor.web.id/tigor/redmage:latest .
|
uses: docker/login-action@v3
|
||||||
#- name: Docker Push Image Version ${{ github.ref_name }}
|
with:
|
||||||
# run: docker image push git.tigor.web.id/tigor/redmage:${{ github.ref_name }}
|
registry: ghcr.io
|
||||||
#- name: Docker Push Image Latest
|
username: ${{ secrets.GHCR_USERNAME }}
|
||||||
# run: docker image push git.tigor.web.id/tigor/redmage:latest
|
password: ${{ secrets.GHCR_PASSWORD }}
|
||||||
|
- name: Docker Build and Push to Github Registry
|
||||||
|
run: docker buildx build --push --build-arg REDMAGE_RUNTIME_VERSION=${{ github.ref_name }} -t ghrc.io/tigor/redmage:${{ github.ref_name }} -t ghcr.io/tigor/redmage:latest .
|
||||||
|
|
Loading…
Reference in a new issue