name: Docker Image for Releases on: release: types: [published] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Login to Docker Hub uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} registry: docker.io - name: Build and push uses: docker/build-push-action@v3 with: push: true context: . tags: aunefyren/wrapperr:latest, aunefyren/wrapperr:${{ github.ref_name }}