update: 10.10.3
This commit is contained in:
parent
b258be9907
commit
790a197dbf
2 changed files with 1 additions and 37 deletions
37
.github/workflows/docker-build.yml
vendored
37
.github/workflows/docker-build.yml
vendored
|
@ -1,37 +0,0 @@
|
||||||
name: Build and Push Docker Image
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- ./alaskarfin/version.txt # Trigger workflow only when version.txt changes
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-push:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
# Step 1: Check out the repository
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
# Step 2: Set up Docker Buildx
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
|
|
||||||
# Step 3: Log in to Docker Hub
|
|
||||||
- name: Log in to Docker Hub
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
# Step 4: Build and push the Docker image
|
|
||||||
- name: Build and Push Image
|
|
||||||
uses: docker/build-push-action@v6
|
|
||||||
with:
|
|
||||||
context: ./alaskarfin # Path to the build context
|
|
||||||
file: ./alaskarfin # Path to the Dockerfile
|
|
||||||
push: true # Push the image to Docker Hub
|
|
||||||
tags: |
|
|
||||||
nomadics/alaskarfin:latest
|
|
||||||
|
|
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
@ -8,6 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment: Dockerhub
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Step 1: Check out the repository
|
# Step 1: Check out the repository
|
||||||
|
|
Loading…
Reference in a new issue