mirror of
https://github.com/FlipsideCrypto/convox.git
synced 2026-02-06 10:56:56 +00:00
use VERSION file in subsequent steps
This commit is contained in:
parent
3a54db78a2
commit
fc64cfc9d4
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
@ -12,10 +12,10 @@ jobs:
|
||||
- name: version
|
||||
run: echo ${GITHUB_REF} | awk -F/ '{print $3}' > ${GITHUB_WORKSPACE}/VERSION && cat ${GITHUB_WORKSPACE}/VERSION
|
||||
- name: build
|
||||
run: docker build -t docker.pkg.github.com/convox/convox/convox:$(echo ${GITHUB_REF} | awk -F/ '{print $3}') .
|
||||
run: docker build -t docker.pkg.github.com/convox/convox/convox:$(cat ${GITHUB_WORKSPACE}/VERSION)
|
||||
- name: login
|
||||
run: docker login docker.pkg.github.com --username convox --password "${GITHUB_TOKEN}"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: push
|
||||
run: docker push docker.pkg.github.com/convox/convox/convox:$(echo ${GITHUB_REF} | awk -F/ '{print $3}')
|
||||
run: docker push docker.pkg.github.com/convox/convox/convox:$(cat ${GITHUB_WORKSPACE}/VERSION)
|
||||
Loading…
Reference in New Issue
Block a user