use docker action
All checks were successful
Deploy / BuildandPush-Docker (push) Successful in 5m29s

This commit is contained in:
tueem 2024-10-19 00:20:05 +02:00
parent a89bf575f2
commit ded1e72412
Signed by: tueem
GPG Key ID: 65C8667EC17A88FB

@ -12,12 +12,13 @@ jobs:
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build Docker Image
run: docker buildx build -t ${{ vars.DOCKER_TAG }} .
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push Docker image
run: docker push ${{ vars.DOCKER_TAG }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{vars.DOCKER_TAG}}