Skip to content

Commit 45e4903

Browse files
committed
Move to GitHub Actions.
1 parent 5336b2a commit 45e4903

File tree

4 files changed

+32
-25
lines changed

4 files changed

+32
-25
lines changed
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build and Publish
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
build-and-publish:
8+
name: Build and Publish
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- name: Log in to Docker Hub
15+
uses: docker/login-action@v3
16+
with:
17+
username: ${{ secrets.DOCKERHUB_USERNAME }}
18+
password: ${{ secrets.DOCKERHUB_TOKEN }}
19+
20+
- name: Extract metadata (tags, labels) for Docker
21+
id: meta
22+
uses: docker/metadata-action@v5
23+
with:
24+
images: ${{ vars.DOCKER_ORG }}/${{ github.event.repository.name }}
25+
26+
- name: Build and push Docker image
27+
uses: docker/build-push-action@v5
28+
with:
29+
context: .
30+
push: true
31+
tags: ${{ steps.meta.outputs.tags }}
32+
labels: ${{ steps.meta.outputs.labels }}

codeship-services.yml

-5
This file was deleted.

codeship-steps.yml

-18
This file was deleted.

dockercfg.encrypted

-2
This file was deleted.

0 commit comments

Comments
 (0)