Skip to content

Commit 54c9888

Browse files
committed
amd86 workflow
1 parent 8f284b4 commit 54c9888

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Publish Docker Image (amd64)
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: ['main']
7+
8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: jam06452/fts3
11+
12+
jobs:
13+
build-and-push:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
packages: write
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Set up Docker Buildx
24+
uses: docker/setup-buildx-action@v3
25+
26+
- name: Log in to the Container registry
27+
uses: docker/login-action@v3
28+
with:
29+
registry: ghcr.io
30+
username: jam06452
31+
password: ${{ secrets.GITHUB_TOKEN }}
32+
33+
- name: Build and push Docker image
34+
uses: docker/build-push-action@v5
35+
with:
36+
context: .
37+
push: true
38+
tags: ghcr.io/jam06452/fts3:latest-amd64

0 commit comments

Comments
 (0)