Skip to content

Commit

Permalink
editing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jzstark committed Dec 2, 2024
1 parent 14ebd98 commit 5fb4180
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/deploy_docker.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Deploy docker (arm64v8)
name: Build and Push dockers

on:
push:
branches:
#- 'main'
- 'abc'
- 'docker'

jobs:
docker:
Expand All @@ -14,7 +14,8 @@ jobs:
contents: read

steps:
- uses: actions/checkout@main
- name: Checkout code
uses: actions/checkout@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -28,10 +29,18 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
- name: Build ubuntu image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/owl-arm64v8:latest
tags: ${{ secrets.DOCKERHUB_USERNAME }}/owl:ubuntu

- name: Build archlinux image
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile.archlinux
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/owl:archlinux

0 comments on commit 5fb4180

Please sign in to comment.