chore: Remove unneeded steps.
This commit is contained in:
parent
ac3e6e68cf
commit
53983fc590
1 changed files with 2 additions and 6 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -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)
|
Loading…
Add table
Add a link
Reference in a new issue