chore: Remove unneeded steps.

This commit is contained in:
greysoh 2024-05-04 19:28:30 -04:00
parent ac3e6e68cf
commit 53983fc590
No known key found for this signature in database
GPG key ID: FE0F173B8FC01571

View file

@ -27,12 +27,8 @@ jobs:
registry: ghcr.io registry: ghcr.io
username: ${{github.actor}} username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}} password: ${{secrets.GITHUB_TOKEN}}
- name: get version
id: get_version
run: |
echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
- name: build images - name: build images
run: | run: |
docker build ./api --tag ghcr.io/greysoh/api:${{ steps.get_version.outputs.version }} docker build ./api --tag ghcr.io/greysoh/api:$(cat VERSION)
docker push ghcr.io/greysoh/api:latest docker push ghcr.io/greysoh/api:latest
docker push ghcr.io/greysoh/api:${{ steps.get_version.outputs.version }} docker push ghcr.io/greysoh/api:$(cat VERSION)