doing it manually
This commit is contained in:
parent
26e74a62c1
commit
40d9523e21
|
@ -26,17 +26,9 @@ jobs:
|
||||||
run: echo "Registry ${{ env.Registry }} Image ${{ env.IMAGE_NAME }} User ${{ env.USER }}"
|
run: echo "Registry ${{ env.Registry }} Image ${{ env.IMAGE_NAME }} User ${{ env.USER }}"
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v2
|
|
||||||
- name: Log in to the Container registry
|
- name: Log in to the Container registry
|
||||||
uses: docker/login-action@v2
|
run: docker login -u ${{ env.USER }} -p ${{ secrets.TOKEN }} ${{ env.REGISTRY }}
|
||||||
with:
|
- name: Build Container
|
||||||
registry: ${{ env.REGISTRY }}
|
run: docker build -t ${{ env.REGISTRY }}/${{ env.USER }}/${{ IMAGE_NAME }}:latest .
|
||||||
username: ${{ env.USER }}
|
- name: Push Container
|
||||||
password: ${{ secrets.TOKEN }}
|
run: docker push ${{ env.REGISTRY }}/${{ env.USER }}/${{ IMAGE_NAME }}:latest
|
||||||
- name: Build and push Docker image
|
|
||||||
uses: docker/build-push-action@v4
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
tags: ${{ env.REGISTRY }}/${{ env.USER }}/${{ IMAGE_NAME }}:latest
|
|
||||||
|
|
Loading…
Reference in New Issue