Skip to content

push my working tree #12

push my working tree

push my working tree #12

Workflow file for this run

name: Build members-platform Docker image
on:
- push
- pull_request
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository == 'hacklabto/members-platform'
steps:
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
- run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- uses: docker/build-push-action@v2
with:
# https://github.com/docker/build-push-action/issues/378
context: .
file: Dockerfile
push: true
tags: |
ghcr.io/hacklabto/members-platform:${{ github.sha }}