Skip to content
Snippets Groups Projects
Commit d3e1c258 authored by Griefed's avatar Griefed :joystick:
Browse files

Got enough of secrets failing to be exported to workflows and branch names not...

Got enough of secrets failing to be exported to workflows and branch names not being formatted the way I told the actions to. 
parent 6b98dc6d
No related branches found
No related tags found
No related merge requests found
......@@ -37,17 +37,6 @@ jobs:
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
......@@ -55,12 +44,7 @@ jobs:
build-args: BRANCH_OR_TAG=${{ steps.branch-name.outputs.current_branch }}
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: true
tags: |
ghcr.io/griefed/ltt-mapmaker:${{ steps.branch-name.outputs.current_branch }}
ghcr.io/griefed/ltt-mapmaker:${{ steps.branch-name.outputs.current_branch }}-${{ github.sha }}
${{ secrets.DOCKERHUB_USERNAME }}/ltt-mapmaker:${{ steps.branch-name.outputs.current_branch }}
${{ secrets.DOCKERHUB_USERNAME }}/ltt-mapmaker:${{ steps.branch-name.outputs.current_branch }}-${{ github.sha }}
push: false
electron:
needs: test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment