Update docker-push.yml

This commit is contained in:
2023-06-12 02:48:20 +10:00
committed by GitHub
parent bd629bf9fe
commit ad5f9418f5

View File

@@ -18,9 +18,14 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up environment variables
id: env
run: |
echo "IMAGE_TAG=${{ github.event.release.tag_name }}" >> $GITHUB_ENV
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
push: true push: true
tags: ${{ github.repository }}:${{ github.sha }} tags: docker.io/litruv/api-websocket-bridge:${{ env.IMAGE_TAG }}