Skip to content

Merge pull request #7 from dpslwk/powerlables #36

Merge pull request #7 from dpslwk/powerlables

Merge pull request #7 from dpslwk/powerlables #36

Workflow file for this run

name: Build
on: ['push']
jobs:
build:
if: github.ref == 'refs/heads/main'
env:
IMAGE: ghcr.io/emfcamp/buildmap
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ env.IMAGE }}:${{ github.sha }}-${{ github.run_number }}
${{ env.IMAGE }}:latest