doing it manually

This commit is contained in:
mightypanders 2023-06-14 22:14:19 +02:00
parent 26e74a62c1
commit 40d9523e21
1 changed files with 5 additions and 13 deletions

View File

@ -26,17 +26,9 @@ jobs:
run: echo "Registry ${{ env.Registry }} Image ${{ env.IMAGE_NAME }} User ${{ env.USER }}"
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.USER }}
password: ${{ secrets.TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ env.REGISTRY }}/${{ env.USER }}/${{ IMAGE_NAME }}:latest
run: docker login -u ${{ env.USER }} -p ${{ secrets.TOKEN }} ${{ env.REGISTRY }}
- name: Build Container
run: docker build -t ${{ env.REGISTRY }}/${{ env.USER }}/${{ IMAGE_NAME }}:latest .
- name: Push Container
run: docker push ${{ env.REGISTRY }}/${{ env.USER }}/${{ IMAGE_NAME }}:latest