This commit is contained in:
Benjamin Palko 2024-10-04 00:30:44 -04:00
parent eff756ace3
commit 91b0e4f6dd

25
.github/workflows/deployment.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Deployment
on:
push:
branches:
- master
jobs:
install:
name: Install
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: baobeld/rusty-api:latest