Skip to content

Update supplies.rb

Update supplies.rb #51

Workflow file for this run

name: Staging
on:
push:
branches: [ main ]
workflow_dispatch:
env:
DOCKER_REGISTRY: ghcr.io
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: benjlevesque/short-sha@v1.2
- name: Docker login
uses: docker/login-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ env.DOCKER_REGISTRY }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
context: .
file: Dockerfile
tags: ${{ env.DOCKER_REGISTRY }}/${{ github.repository }}:sha-${{ env.SHA }}