Skip to content

Commit

Permalink
Add new image build and target
Browse files Browse the repository at this point in the history
  • Loading branch information
barthuijgen committed Jan 4, 2025
1 parent d409d5e commit e74fe33
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Push Docker Image

on:
push:
branches:
- develop

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Login to custom registry
uses: docker/login-action@v3
with:
registry: ${{ vars.DOCKER_REGISTRY }}
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v6
with:
tags: ${{ vars.DOCKER_REGISTRY }}/factorio-blueprints:latest
push: true

0 comments on commit e74fe33

Please sign in to comment.