Skip to content

Commit

Permalink
fix: github action error
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafabarmshory committed Feb 8, 2023
1 parent 2ae58bd commit ae70b77
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ name: publishpublish
run-name: ${{ github.actor }} build new image
on: [push]
jobs:
publish-odoo16-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Odoo Runner 16.0 Docker image
run: |
cd 16.0
timetag=(`date +%Y%M%d`)
docker build . --tag ghcr.io/viraweb123/odoo-runner:16.0.${timetag} --tag ghcr.io/viraweb123/odoo-runner:16.0
docker push ghcr.io/viraweb123/odoo-runner:16.0
docker push ghcr.io/viraweb123/odoo-runner:16.0.${timetag}
publish-odoo16-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Odoo Runner 16.0 Docker image
run: |
cd 16.0
timetag=(`date +%Y%M%d`)
docker build . --tag ghcr.io/viraweb123/odoo-runner:16.0.${timetag} --tag ghcr.io/viraweb123/odoo-runner:16.0
docker push ghcr.io/viraweb123/odoo-runner:16.0
docker push ghcr.io/viraweb123/odoo-runner:16.0.${timetag}

0 comments on commit ae70b77

Please sign in to comment.