31 lines
723 B
YAML
31 lines
723 B
YAML
name: Docker
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
images:
|
|
name: Images
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set docker chmod (temp solution)
|
|
run: sudo chmod 666 /var/run/docker.sock
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Docker - Login
|
|
uses: docker/login-action@v1
|
|
with:
|
|
registry: git.hashdot.co
|
|
username: ${{ secrets.DOCKER_USER }}
|
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
|
|
- name: Build and Push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
file: ./docker/images/build/Dockerfile
|
|
push: true
|
|
tags: git.hashdot.co/lars/pipelines/bun:latest |