woo actions!
Publish Cargo and Docker package / Publish-Docker (push) Failing after 7m16s Details

main
HeNine 1 year ago
parent 9ce139c20a
commit b3ed6837aa

@ -10,13 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: https://github.com/actions/checkout@v3
- name: Write release version
run: |
KARTSROLLER_VERSION=${GITHUB_REF_NAME#v}
echo Version: $KARTSROLLER_VERSION
echo "KARTSROLLER_VERSION=$KARTSROLLER_VERSION" >> $GITHUB_ENV
uses: https://github.com/actions/checkout@v3
- name: Build site
run: npm install && npm run build
@ -34,12 +28,17 @@ jobs:
username: henine
password: "${{ secrets.PACKAGE_UPLOAD_TOKEN }}"
- name: Docker meta
uses: https://github.com/docker/metadata-action@v4
with:
images: git.raptorpond.com/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
- name: Build and push
uses: https://github.com/docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
push: true
tags: |
git.raptorpond.com/${{ github.repository }}:latest
git.raptorpond.com/${{ github.repository }}:${{ env.KARTSROLLER_VERSION }}
tags: ${{ steps.meta.outputs.tags }}

Loading…
Cancel
Save